Skip to content
This repository has been archived by the owner on Aug 10, 2021. It is now read-only.

ModelDriver Catch die()s and report in a nicer way #37

Closed
devoid opened this issue Oct 4, 2011 · 1 comment
Closed

ModelDriver Catch die()s and report in a nicer way #37

devoid opened this issue Oct 4, 2011 · 1 comment
Assignees

Comments

@devoid
Copy link
Contributor

devoid commented Oct 4, 2011

Right now if a routine called by ModelDriver dies it does not report a "user friendly" error message. We can fix this by catching the error, parsing out the actual error message and displaying it to the user along with the suggestion to submit the detailed error log (the stack trace) to this ticket repository.

@ghost ghost assigned devoid Oct 4, 2011
@cshenry
Copy link
Contributor

cshenry commented Oct 7, 2011

So if I understand, we catch the error, print the error message, drop the full stack trace into an error log, and print a note suggesting the content of the log be posted as an issue in github.

Perhaps we keep just one error log kind of like apache? Keep it in the logs directory? append entries with a time stamp so you can easily tell when the error showed up?

All this sounds good to me, and simple to implement.

@devoid devoid closed this as completed Oct 10, 2011
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants