-
-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enhance context log #1390
Enhance context log #1390
Conversation
Please resolve conflicts, and add a short summary of changes this makes in the PR description? Thanks |
before the patch the output of a crash looks like:
tested with eggdrop version 2a6a368, which would crash on the test-crash-tcl. so, this patch adds the following output lines when crash: [19:26:00] * Last bind called: evnt:init_server this could make debugging problems in the future easier as it supplies more context/data/information about what happened before the crash. at the same time, old Context-stuff has been cleanup up and removed. Most of the stuff was already removed. But lots of unuseful cruft remained. |
Conflict resolved. New test:
After:
|
I agree with a lot in this and it's going to make it a lot easier to analyze crashes. I don't think I see value in the last raw IRC line received though - crashes can come from the botnet, too. I would suggest removing that bit. |
done. new crash-test with that bit removed:
|
Found by:
Patch by: michaelortmann
Fixes:
One-line summary:
Additional description (if needed):
Test cases demonstrating functionality (if applicable):