Documentation Index

Fetch the complete documentation index at: https://docs.datajet.app/llms.txt

Use this file to discover all available pages before exploring further.

StopErrorLog

Prev Next

Stops the script error log started by StartErrorLog and writes the log out: the workbook (if one was configured) and the text log file are produced at this point.

Calling StopErrorLog is optional — if it is omitted, the log is still written automatically when the script finishes. Use it to close and write the log partway through a script, for example before a section that should not be included.

The log file is written to the folder given by the StartErrorLog serverPath (default %OUTPUT%/djscriptlogs/). The log content is also returned with the script results, so it is visible in the Log tab of the Script Editor.

Parameters

KeyValue(s)Description
method"StopErrorLog"Stops the script error log and writes it out.
project"MyProject"Current project name.
{
  "method": "StopErrorLog",
  "project": "MyProject"
}

See also