zz 4 年 前
コミット
2fbf9fbe31
2 ファイル変更5 行追加1 行削除
  1. 4 1
      app/Jobs/AsyncOrderStats.php
  2. 1 0
      app/Jobs/AsyncUserRegister.php

+ 4 - 1
app/Jobs/AsyncOrderStats.php

@@ -178,10 +178,13 @@ class AsyncOrderStats implements ShouldQueue
         }catch (\Exception $e){
             $record['status'] = 2;
             $record['msg'] = '';
+            \Log::error($e);
         }
         try{
             DB::table('fire_order_report_record')->insert($record);
-        }catch (\Exception $e){}
+        }catch (\Exception $e){
+
+        }
     }
 
 }

+ 1 - 0
app/Jobs/AsyncUserRegister.php

@@ -120,6 +120,7 @@ class AsyncUserRegister implements ShouldQueue
             ]);
 
         }catch (\Exception $e){
+            \Log::error($e);
             $record['status'] = 2;
             DB::table('fire_user_report_record')->insert($record);
         }