Browse Source

:memo: add generate temporaryUrl fail

visuddhinanda 2 năm trước cách đây
mục cha
commit
4a4bda6496
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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,