diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-09-20 20:42:54 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-09-20 20:42:54 -0300 |
commit | 4e3eb2b1fdc7000571bc955a284fdd644a8abea8 (patch) | |
tree | 38636d308eae05a52f456628486ceafe700c153a /npc/functions/main.txt | |
parent | 03bad31d7fe788a25a91e1097c376a763f560713 (diff) | |
download | serverdata-4e3eb2b1fdc7000571bc955a284fdd644a8abea8.tar.gz serverdata-4e3eb2b1fdc7000571bc955a284fdd644a8abea8.tar.bz2 serverdata-4e3eb2b1fdc7000571bc955a284fdd644a8abea8.tar.xz serverdata-4e3eb2b1fdc7000571bc955a284fdd644a8abea8.zip |
Update some of the debugmes for usage with syslog facility
Diffstat (limited to 'npc/functions/main.txt')
-rw-r--r-- | npc/functions/main.txt | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/npc/functions/main.txt b/npc/functions/main.txt index e28de3b8d..787c230a1 100644 --- a/npc/functions/main.txt +++ b/npc/functions/main.txt @@ -439,7 +439,8 @@ function script Exception { dispbottom("ERROR: "+.@msg$); if (.@gf & RB_DEBUGMES) - debugmes("[Warning] "+.@msg$); + consolewarn(.@msg$); + //debugmes("[Warning] "+.@msg$); if (.@gf & RB_SPEECH) mesc("ERROR, REPORT ME! "+.@msg$, 1); @@ -463,7 +464,8 @@ function script Exception { dispbottom("This error is fatal, we stop execution."); if (.@gf & RB_DEBUGMES) - debugmes("[Error] The error is fatal."); + consolebug("Previous warning was fatal, halting execution."); + //debugmes("[Error] The error is fatal."); if (.@gf & RB_SPEECH) { mesc l("This error is fatal, we stop execution."), 1; |