mirror of
https://github.com/status-im/spiff-arena.git
synced 2025-01-14 04:05:31 +00:00
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
|
||||
|
||||
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_text": message_text,
|
||||
|
Loading…
x
Reference in New Issue
Block a user