mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-23 13:05:44 +01:00
Increase error logging to diagnose server conking (#15662)
* Increase error logging to diagnose server conking * more logging and db retry * whoops * rename error() to log_error() to better reflect what it does Move a bunch of world.log messages to log_error * Fix compile error --------- Co-authored-by: Werner <Arrow768@users.noreply.github.com>
This commit is contained in:
@@ -193,7 +193,7 @@ var/list/spells = typesof(/spell) //needed for the badmin verb for now
|
||||
/spell/proc/cast_check(skipcharge = 0,mob/user = usr) //checks if the spell can be cast based on its settings; skipcharge is used when an additional cast_check is called inside the spell
|
||||
|
||||
if(!(src in user.spell_list) && holder == user)
|
||||
error("[user] utilized the spell '[src]' without having it.")
|
||||
log_error("[user] utilized the spell '[src]' without having it.")
|
||||
to_chat(user, "<span class='warning'>You shouldn't have this spell! Something's wrong.</span>")
|
||||
return 0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user