浏览代码

hai testing

LD 5 年之前
父节点
当前提交
84ffd9aea5

+ 1 - 1
app/Exceptions/Exception.php

@@ -37,7 +37,7 @@ class Exception extends \Exception
             $className,
             $functionName,
             ($exception->getMessage()??'')
-            .'调用堆栈:'.$tracesAll,
+            .'调用堆栈e:'.$tracesAll,
             Auth::id()??'',
             $this->type
         );

+ 1 - 1
app/Exceptions/Handler.php

@@ -122,7 +122,7 @@ class Handler extends ExceptionHandler
                 $functionName,
                 ($errMsg??'')
                 .'请求:'.json_encode($request->all())
-                .'调用堆栈:'.$tracesAll,
+                .'调用堆栈r:'.$tracesAll,
                 Auth::id()??'',
                 $type
             );

+ 1 - 1
app/Listeners/ModelChangedListener.php

@@ -25,7 +25,7 @@ class ModelChangedListener
             get_class($event->model),
             $methodName,
             '对象:'.$event->model->toJson()
-            .'调用堆栈:'.$traces
+            .'调用堆栈h:'.$traces
         );
     }
 

+ 1 - 1
app/Services/ForeignHaiRoboticsService.php

@@ -360,7 +360,7 @@ class ForeignHaiRoboticsService
         LogService::log(__METHOD__, __FUNCTION__,
             $errMsg ?? ''
             . '请求:' . json_encode($dataToPost)
-            . '调用堆栈:' . json_encode(array_slice(debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS), 0, 3))
+            . '调用堆栈c:' . json_encode(array_slice(debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS), 0, 3))
         );
         return $isSuccess = !$errMsg;
     }

+ 1 - 1
app/Services/StationTaskBatchService.php

@@ -157,7 +157,7 @@ class StationTaskBatchService
                 $retry_after_sec = config('task.batchTask.retry_after_sec');
                 LogService::log(__METHOD__, __FUNCTION__,
                     '任务波次没有执行完的,' . $retry_after_sec . '秒后准备重试:' . $stationTaskBatches_failed->toJson()
-                    . '调用堆栈:' . json_encode(array_slice(debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS), 0, 3))
+                    . '调用堆栈r:' . json_encode(array_slice(debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS), 0, 3))
                 );
                 LogService::log(__METHOD__,'runMany','波次任务分配6.9:'.json_encode($stationTaskBatches_failed));
                 sleep($retry_after_sec);

+ 1 - 1
tests/webApi/thirdPart/haiq/pickStation.http

@@ -17,7 +17,7 @@
 POST http://bswas/api/thirdPart/haiq/pickStation/processed
 Content-Type: application/json
 
-{"workStation": "1", "binCode":"IDE0005714", "success": true, "created_at":"2021-56-24 05-03-15", "exception": "", "is_in_plan":true}
+{"workStation":"1","binCode":"IDE0005714","success":true,"created_at":"2021-10-13 09-04-47","exception":null,"is_in_plan":true}
 ###