Explorar o código

:memo: add generate temporaryUrl fail

visuddhinanda %!s(int64=2) %!d(string=hai) anos
pai
achega
4a4bda6496
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      app/Console/Commands/ExportZip.php

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

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