From 312273584b1903ff913a97ac5f080c0d9ab83780 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Wed, 6 Sep 2017 10:41:21 +0200 Subject: [PATCH] Catch error --- System/File/Storage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/System/File/Storage.php b/System/File/Storage.php index 8309de2f1..6807dbd39 100644 --- a/System/File/Storage.php +++ b/System/File/Storage.php @@ -76,7 +76,7 @@ final class Storage $env = $env::getInstance(); self::$registered[$stg] = $env; - } catch(\Exception $e) { + } catch(\Throwable $e) { throw new \Exception(); } }