Adds missing error handler that made it difficult to debug runtimes.

This commit is contained in:
PsiOmegaDelta
2016-08-25 18:21:55 +01:00
committed by Yoshax
parent a42f0c90af
commit c6105e01a0
8 changed files with 355 additions and 2 deletions
+3 -2
View File
@@ -162,7 +162,7 @@ var/list/admin_verbs_server = list(
/client/proc/nanomapgen_DumpImage
)
var/list/admin_verbs_debug = list(
/client/proc/getruntimelog, //allows us to access runtime logs to somebody,
/client/proc/getruntimelog, //allows us to access runtime logs to somebody,
/client/proc/cmd_admin_list_open_jobs,
/client/proc/Debug2,
/client/proc/kill_air,
@@ -196,7 +196,8 @@ var/list/admin_verbs_debug = list(
/client/proc/jumptocoord,
/client/proc/dsay,
/client/proc/toggle_debug_logs,
/client/proc/admin_ghost //allows us to ghost/reenter body at will,
/client/proc/admin_ghost, //allows us to ghost/reenter body at will,
/datum/admins/proc/view_runtimes
)
var/list/admin_verbs_paranoid_debug = list(
+10
View File
@@ -959,3 +959,13 @@
log_admin("[key_name(src)] has toggled [M.key]'s [blockname] block [state]!")
else
alert("Invalid mob")
/datum/admins/proc/view_runtimes()
set category = "Debug"
set name = "View Runtimes"
set desc = "Open the Runtime Viewer"
if(!check_rights(R_DEBUG))
return
error_cache.showTo(usr)