Replaces EXCEPTION() with stack_trace() and CRASH()

This commit is contained in:
Ghommie
2020-03-05 01:47:04 +01:00
parent 7a539d0a78
commit bb7bfc04cc
18 changed files with 24 additions and 33 deletions
@@ -14,8 +14,7 @@ GLOBAL_PROTECT(mentor_href_token)
/datum/mentors/New(ckey)
if(!ckey)
QDEL_IN(src, 0)
throw EXCEPTION("Mentor datum created without a ckey")
return
CRASH("Mentor datum created without a ckey")
target = ckey(ckey)
name = "[ckey]'s mentor datum"
href_token = GenerateToken()