diff --git a/classes/cache/FileCache.inc.php b/classes/cache/FileCache.inc.php index 22d7a7fc737..30f18ff6e60 100644 --- a/classes/cache/FileCache.inc.php +++ b/classes/cache/FileCache.inc.php @@ -51,7 +51,7 @@ function __construct($context, $cacheId, $fallback, $path) { }); try { $this->cache = include $this->filename; - } catch (Exception) { + } catch (Exception $e) { $this->cache = null; } finally { set_error_handler($previousHandler);