Changed exception logging to include exception details/stacktrace #60

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
2 participants
@torkelo
Contributor

torkelo commented Apr 11, 2012

Changed the way exceptions are logged, was struggling with rh.exe failing with only this output:

"The type initializer for 'StructureMap.StructureMapConfiguration' threw an exception."

No details of the internal exception or stacktrace is shown, this made this problem hard to find. After switching to using Log4nets Error method (ex.Message, ex) the message AND internal exception message/stack trace is printed to the console/output making this problem easy to identity (caused by .NET framework 3.5 was not installed on buildserver).

@ferventcoder

This comment has been minimized.

Show comment
Hide comment
@ferventcoder

ferventcoder Apr 12, 2012

Member

thanks, I will take a look at it.

Member

ferventcoder commented Apr 12, 2012

thanks, I will take a look at it.

@ghost ghost assigned ferventcoder Sep 7, 2012

@ferventcoder

This comment has been minimized.

Show comment
Hide comment
@ferventcoder

ferventcoder Sep 7, 2012

Member

This is in, thanks!

Member

ferventcoder commented Sep 7, 2012

This is in, thanks!

GoogleCodeExporter pushed a commit to google-code-export/roundhouse that referenced this pull request Mar 13, 2015

@ferventcoder ferventcoder modified the milestone: 0.8.6 Jun 3, 2015

ChrisMissal pushed a commit to ChrisMissal/roundhouse that referenced this pull request Jul 30, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment