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 exc

Exception to log

RECORD options

Options

BOOLEAN addcurrentstack

If present and FALSE, skip appending the stack trace to the logging function

contextinfo

If present, overrides the contextinfo set by SetErrorContextInfo.

BOOLEAN groupid

Override the VM group id

info

Extra info to log (will be hson encoded)

STRING script

If set, log this as the name of the script