Retrieves the corresponding exception stacktrace to the passed historic job log by id.
Method
GET /history/job-log/{id}/stacktrace
Parameters
Path Parameters
Name | Description |
---|---|
id | The id of the historic job log 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 | text/plain | Historic job log with given id does not exist. See the Introduction for the error response format. |
Example
Request
GET history/job-log/someId/stacktrace
Response
java.lang.RuntimeException: A exception message!
at org.camunda.bpm.pa.service.FailingDelegate.execute(FailingDelegate.java:10)
at org.camunda.bpm.engine.impl.delegate.JavaDelegateInvocation.invoke(JavaDelegateInvocation.java:34)
at org.camunda.bpm.engine.impl.delegate.DelegateInvocation.proceed(DelegateInvocation.java:37)
...
原文: https://docs.camunda.org/manual/7.9/reference/rest/history/job-log/get-job-log-stacktrace/