Browse Source

log >> 'upload file='.$tmpFile

visuddhinanda 2 years ago
parent
commit
c5b8a871d2
1 changed files with 4 additions and 3 deletions
  1. 4 3
      app/Console/Commands/ExportZip.php

+ 4 - 3
app/Console/Commands/ExportZip.php

@@ -96,11 +96,12 @@ class ExportZip extends Command
                 ];
         }
 
-        $this->info('upload file='.$zipFile);
-        Log::debug('export offline: upload file {filename}',['filename'=>$zipFile]);
-
         $bucket = config('mint.attachments_bucket_name');
         $tmpFile =  $bucket.'/'. $zipFile ;
+
+        $this->info('upload file='.$tmpFile);
+        Log::debug('export offline: upload file {filename}',['filename'=>$tmpFile]);
+
         Storage::put($tmpFile, file_get_contents($zipFullFileName));
 
         $this->info('upload done file='.$tmpFile);