1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-12 09:19:40 +01:00

Merge pull request #6489 from MorrisJobke/fix/noid/print-exception-class

This commit is contained in:
Bruce Weirdan 2021-09-16 14:55:52 +03:00 committed by GitHub
commit 7dd5db1c21
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,6 +17,7 @@ use function fclose;
use function feof;
use function fread;
use function fwrite;
use function get_class;
use function gettype;
use function in_array;
use function ini_get;
@ -219,7 +220,8 @@ class Pool
// This can happen when developing Psalm from source without running `composer update`,
// or because of rare bugs in Psalm.
$process_done_message = new ForkProcessErrorMessage(
$t->getMessage() . "\nStack trace in the forked worker:\n" . $t->getTraceAsString()
get_class($t) . " " . $t->getMessage()
. "\nStack trace in the forked worker:\n". $t->getTraceAsString()
);
}