Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In case an exception happened in this pipeline, this object will contain all required information about it. Otherwise this object is null.

Depending on the exception type the attributes can differ. Below you can find the common attributes always available:

exception.auth

The name of the principal active when this exception happened. This is typically the username of the currently logged-in user or the systemuser.

exception.domain

The PIPEFORCE domain name (host) where this exception happened.

exception.message

Returns the exception message as string.

exception.more

A link to the log files related to this exception.

exception.namespace

The PIPEFORCE namespace where this exception happened.

exception.spanId

The id of the trace span where this exception happened or null in case there was no span created.

exception.traceId

The id of the tracing where this exception happened. Never null.

exception.type

Returns the type (name) of the current exception. Example values (could also be dynamic ones):

...

PipelineException

Exception

exception.

...

statusCode

The status code of the exception if there is any. Usually an HTTP status code is assigned with any exception. By default it is set to 500.

exception.time

The unix timestamp in millis when this exception happened at the backend.

exception.uuid

Returns the unique id of this exception. This is handy for searching in logs for this exact match.