mojo
mojo copied to clipboard
traceback in Mojo::Exception print fully qualified sub names
This should fix the situation with traceback produced by Mojo::Exception much less informative than traceback produced by Carp
exception: raise at /home/agrechkin/tmp/test-exception line 9.
Traceback (most recent call first):
File "/home/agrechkin/tmp/test-exception", line 9, in "main"
File "/home/agrechkin/tmp/test-exception", line 12, in "main"
File "/home/agrechkin/tmp/test-exception", line 24, in "main"
File "/home/agrechkin/tmp/test-exception", line 29, in "main"
exception: croak at /home/agrechkin/tmp/test-exception line 17.
eval {...} called at /home/agrechkin/tmp/test-exception line 20
main::carp_croak() called at /home/agrechkin/tmp/test-exception line 25
main::main() called at /home/agrechkin/tmp/test-exception line 29
Closes: #1947
@kraih I have fixed tidyness and one typo. can you please reapprove workflow run.
@kraih really sorry for the noise. I should've setup perltidy pre-commit hook can you please re-approve the workflows again