Selaa lähdekoodia

:memo: add generate temporaryUrl fail

visuddhinanda 2 vuotta sitten
vanhempi
sitoutus
4a4bda6496
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      app/Console/Commands/ExportZip.php

+ 1 - 0
app/Console/Commands/ExportZip.php

@@ -112,6 +112,7 @@ class ExportZip extends Command
             try{
             try{
                 $link = Storage::temporaryUrl($tmpFile, now()->addDays(2));
                 $link = Storage::temporaryUrl($tmpFile, now()->addDays(2));
             }catch(\Exception $e){
             }catch(\Exception $e){
+                $this->error('generate temporaryUrl fail');
                 Log::error('export offline: generate temporaryUrl fail {Exception}',
                 Log::error('export offline: generate temporaryUrl fail {Exception}',
                             [
                             [
                                 'exception'=>$e,
                                 'exception'=>$e,