Skip to content

Commit b47f63c

Browse files
committed
Simplify code - catch \Throwable capture all exceptions
This is a legacy when we did support PHP 5.X
1 parent e16b9e4 commit b47f63c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Filesystem.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -750,7 +750,6 @@ private static function box($func)
750750

751751
return $result;
752752
} catch (\Throwable $e) {
753-
} catch (\Exception $e) {
754753
}
755754
\restore_error_handler();
756755

0 commit comments

Comments
 (0)