Subject: | Exception objects are obfuscated |
Show quoted text
> perl -MException::Class=foobar -Mthreads -E '$t = threads->create(sub { foobar->throw } ); $t->join; say $t->error'
Thread 1 terminated abnormally: main=HASH(0x4df6eb0) at -e line 1.
[Generic exception]
If it's technically impossible to copy the real exception object to the parent thread, then maybe stringifing it would be more sensible?