From c3010c7f623fe3452e5362bd2d02ee533e9c964c Mon Sep 17 00:00:00 2001 From: Constantin Graf Date: Wed, 1 May 2024 21:40:07 +0200 Subject: [PATCH] Activate exception on failed file write --- config/filesystems.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/config/filesystems.php b/config/filesystems.php index 259e48db..7fd01a6f 100644 --- a/config/filesystems.php +++ b/config/filesystems.php @@ -35,7 +35,7 @@ return [ 'local' => [ 'driver' => 'local', 'root' => storage_path('app'), - 'throw' => false, + 'throw' => true, ], 'public' => [ @@ -43,7 +43,7 @@ return [ 'root' => storage_path('app/public'), 'url' => env('APP_URL').'/storage', 'visibility' => 'public', - 'throw' => false, + 'throw' => true, ], 's3' => [ @@ -55,13 +55,13 @@ return [ 'url' => env('S3_URL'), 'endpoint' => env('S3_ENDPOINT'), 'use_path_style_endpoint' => env('S3_USE_PATH_STYLE_ENDPOINT', false), - 'throw' => false, + 'throw' => true, ], 'testfiles' => [ 'driver' => 'local', 'root' => storage_path('tests'), - 'throw' => false, + 'throw' => true, ], ],