Retrieves the exception stacktrace corresponding to the passed job id.

Method

GET /job/{id}/stacktrace

Parameters

Path Parameters

Name Description
id The id of the job to get the exception stacktrace for.

Result

The result is the corresponding stacktrace as plain text.

Response Codes

Code Media type Description
200 text/plain Request successful.
404 application/json Job with given id does not exist. See the Introduction for the error response format.

Example

Request

GET /job/aJobId/stacktrace

Response

  1. java.lang.RuntimeException: A exception message!
  2. at org.camunda.bpm.pa.service.FailingDelegate.execute(FailingDelegate.java:10)
  3. at org.camunda.bpm.engine.impl.delegate.JavaDelegateInvocation.invoke(JavaDelegateInvocation.java:34)
  4. at org.camunda.bpm.engine.impl.delegate.DelegateInvocation.proceed(DelegateInvocation.java:37)
  5. ...

原文: https://docs.camunda.org/manual/7.9/reference/rest/job/get-exception-stacktrace/