athletic icon indicating copy to clipboard operation
athletic copied to clipboard

Exceptions are displayed without stack trace

Open mnapoli opened this issue 11 years ago • 2 comments

Hi there,

Is there any way to have athletic display more information when an exception occurs. It only displays the exception message, but sometimes this isn't enough :(

For example here, I'm benchmarking a lib which throws me an exception (with a very poor message) but then I'm stuck for resolving it:

% php -n vendor/bin/athletic -p benchmarks -b vendor/autoload.php
ERROR: Benchmark\Fixture\Foo

mnapoli avatar Nov 30 '13 09:11 mnapoli

I think the command-line package that I'm using is eating the stacktrace. I'll see if there is a way to disable that or otherwise output it...I agree it would be more helpful if displayed.

polyfractal avatar Dec 02 '13 23:12 polyfractal

It has maybe already been suggested, but I have used Symfony's console in the past and it's a good alternative if you find too much trouble with the current library.

mnapoli avatar Dec 03 '13 13:12 mnapoli