diff --git a/check-cache.php b/check-cache.php index 7a553e8d5..9a3d37f81 100644 --- a/check-cache.php +++ b/check-cache.php @@ -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']) {