Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F2177791
Build error context for ViperServ eggdrops
No One
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
dereckson
Mar 15 2023, 00:04
2023-03-15 00:04:17 (UTC+0)
Size
696 B
Referenced Files
None
Subscribers
None
Build error context for ViperServ eggdrops
View Options
#
# Error handling
#
proc build_error_context {} {
global username version
# Should be done by Sentry TCL toolkit
set context [dict create tcl_version [info patchlevel]]
dict append context nameofexecutable [info nameofexecutable]
dict append context environment [array get ::env]
dict append context extensions [info loaded]
dict append context error [dict create code $::errorCode info $::errorInfo stack [info errorstack]]
# Can only be done by us
set app_context [dict create username $username eggdrop_version $version]
dict append app_context scripts_version [exec sh -c "cd scripts && git rev-parse HEAD"]
dict merge $context $app_context
}
File Metadata
Details
Attached
Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1359618
Default Alt Text
Build error context for ViperServ eggdrops (696 B)
Attached To
Mode
P314 Build error context for ViperServ eggdrops
Attached
Detach File
Event Timeline
Log In to Comment