Watch
-
Add Favorite
- Changed traceback output so the same traceback is not output more than once. Each error is logged only once but the time and date of each error is appended to earlier time and date information.
( Previous Versions )
Description
Allows authors and addon users to easily see errors generated by Python addons, having the potential to help fix broken addon functionality. Requires only ES 2.0.0.248+
---
Instructions: (included with addon)
Please delete any files created by previous releases
Load ExceptHook before all other addons in your autoexec.cfg with:
When a Python addon for EventScripts raises an error the error will be logged in two places:
- In the folder ./addons/eventscripts/excepthook/ you will find a file called exceptions.txt. That file will contain the date and time of the error as well as the addon from which the error came. Check this file often to ensure no new errors have been seen.
- In the folder of the addon from where the error came you will find a text file (.txt) with the name of the addon followed by _errors.txt. That file contains the the date and time the error occurred as well as the full error that was raised. This error information is invaluable for addon authors and authors should be immediately notified with the full text of the error when it occurs.
Both files may be deleted when the error or errors have been reported.
Not only will this error information benefit addon authors but it will also benefit addon users by potentially allowing authors to fix broken addon functions.
Any questions or comments about this addon should be directed to the forum link found at the bottom this page.
---
This addon has no configuration options.
---
Instructions: (included with addon)
Please delete any files created by previous releases
Load ExceptHook before all other addons in your autoexec.cfg with:
es_load excepthook |
When a Python addon for EventScripts raises an error the error will be logged in two places:
- In the folder ./addons/eventscripts/excepthook/ you will find a file called exceptions.txt. That file will contain the date and time of the error as well as the addon from which the error came. Check this file often to ensure no new errors have been seen.
- In the folder of the addon from where the error came you will find a text file (.txt) with the name of the addon followed by _errors.txt. That file contains the the date and time the error occurred as well as the full error that was raised. This error information is invaluable for addon authors and authors should be immediately notified with the full text of the error when it occurs.
Both files may be deleted when the error or errors have been reported.
Not only will this error information benefit addon authors but it will also benefit addon users by potentially allowing authors to fix broken addon functions.
Any questions or comments about this addon should be directed to the forum link found at the bottom this page.
---
This addon has no configuration options.
Version Notes For 2 (Announce this update)
Updated on: 2008-12-22 21:16:35 EST by SuperDave- Changed traceback output so the same traceback is not output more than once. Each error is logged only once but the time and date of each error is appended to earlier time and date information.
( Previous Versions )
Discussion
Forum Link: http://forums.mattie.info/cs/forums/viewtopic.php?t=27450
Addon Details
Upload Addon