Skip to content

Commit

Permalink
More specific cache check
Browse files Browse the repository at this point in the history
  • Loading branch information
spotweb committed Oct 20, 2013
1 parent 142efe2 commit 0a78a86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion check-cache.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
$cacheItem['metadata'] = unserialize($cacheItem['metadata']);
try {
$cacheDao->getCacheContent($cacheItem['id'], $cacheItem['cachetype'], $cacheItem['metadata']);
} catch(Excepion $x) {
} catch(CacheIsCorruptException $x) {
echo PHP_EOL . ' Trying to fetch ' . $cacheItem['resourceid'] . ' again' . PHP_EOL;

switch($cacheItem['cachetype']) {
Expand Down

0 comments on commit 0a78a86

Please sign in to comment.