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:
commit
7dd5db1c21
@ -17,6 +17,7 @@ use function fclose;
|
|||||||
use function feof;
|
use function feof;
|
||||||
use function fread;
|
use function fread;
|
||||||
use function fwrite;
|
use function fwrite;
|
||||||
|
use function get_class;
|
||||||
use function gettype;
|
use function gettype;
|
||||||
use function in_array;
|
use function in_array;
|
||||||
use function ini_get;
|
use function ini_get;
|
||||||
@ -219,7 +220,8 @@ class Pool
|
|||||||
// This can happen when developing Psalm from source without running `composer update`,
|
// This can happen when developing Psalm from source without running `composer update`,
|
||||||
// or because of rare bugs in Psalm.
|
// or because of rare bugs in Psalm.
|
||||||
$process_done_message = new ForkProcessErrorMessage(
|
$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()
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user