LogHarescriptException (open)
Log a Harescript exception to the notice log
Syntax
LOADLIB "mod::system/lib/services.whlib";
MACRO LogHarescriptException(OBJECT exc, RECORD options)Parameters
OBJECT excException to log
RECORD optionsOptions
BOOLEAN addcurrentstackIf present and FALSE, skip appending the stack trace to the logging function
contextinfoIf present, overrides the contextinfo set by SetErrorContextInfo.
BOOLEAN groupidOverride the VM group id
infoExtra info to log (will be hson encoded)
STRING scriptIf set, log this as the name of the script