songxingwei 2 년 전
부모
커밋
22e19afa9e
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      vendor/zoujingli/think-library/src/queue/WorkQueue.php

+ 1 - 0
vendor/zoujingli/think-library/src/queue/WorkQueue.php

@@ -97,6 +97,7 @@ class WorkQueue extends Command
                 }
             }
         } catch (\Exception $e) {
+            file_put_contents("error.txt", $e. "\n" . "\n", FILE_APPEND);
             if (in_array($e->getCode(), ['3', '4'])) {
                 $this->update($e->getCode(), $e->getMessage());
             } else {