add the process instance id to the error message when using system notifications on errors w/ burnettk
This commit is contained in:
parent
dff2d56e56
commit
f8038e5c3e
|
@ -62,7 +62,8 @@ class ErrorHandlingService:
|
||||||
from spiffworkflow_backend.services.message_service import MessageService
|
from spiffworkflow_backend.services.message_service import MessageService
|
||||||
|
|
||||||
message_text = (
|
message_text = (
|
||||||
f"There was an exception running process {process_model.id}.\nOriginal Error:\n{error.__repr__()}"
|
f"There was an exception running process model {process_model.id} for instance"
|
||||||
|
f" {process_instance.id}.\nOriginal Error:\n{error.__repr__()}"
|
||||||
)
|
)
|
||||||
message_payload = {
|
message_payload = {
|
||||||
"message_text": message_text,
|
"message_text": message_text,
|
||||||
|
|
Loading…
Reference in New Issue