소스 검색

Better error handling for parallel part

shalvah 4 년 전
부모
커밋
11c26bd1e4
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/Tools/ErrorHandlingUtils.php

+ 1 - 1
src/Tools/ErrorHandlingUtils.php

@@ -19,7 +19,7 @@ class ErrorHandlingUtils
         } else if (!$completelySilent) {
             if ($e instanceof MultiReasonException) {
                 $message = join("\n", array_map(function (\Throwable $reason) {
-                    return $reason->getMessage();
+                    return get_class($reason).": ".$reason->getMessage();
                 }, $e->getReasons()));
             } else {
                 [$firstFrame, $secondFrame] = $e->getTrace();