I'm trying to setup an error handling to post to slack on error. For some reason, the workflowContext.currentRun.error.message.ToString()
is always showing as null. If I don't use .ToString()
, then the Slack message errors with invalid_blocks_format
.