History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: PSL-187
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Jens Halm
Reporter: Klaus Gieber
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Parsley Core

Stacktrace is not printed on log.error("msg", e);

Created: 09/Jun/09 10:44 AM   Updated: 04/Apr/11 05:31 PM
Component/s: None
Affects Version/s: 2.0.0
Fix Version/s: 2.0.1

Environment: Windows Vista, Flex Builder, Flash Player 10


 Description  « Hide
If I print an error message and pass the Error as argument to log.error, then the stacktrace is not printed. I debugged into the code and the problem seems to be somewhere around the DefaultLogger cause in the LogUtil class the array of arguments is suddenly surrounded by another array and thus the Error object is not detected and the stacktrace is not appended

 All   Comments   Change History      Sort Order:
Jens Halm - 20/Jun/09 02:45 PM - edited
There is a new delegate mechanism which includes a method with rest params which delegates to another method with rest params. This only works when using Function.apply for the second invocation. Has been fixed in trunk. Thanks for reporting.