Created
September 25, 2018 16:54
-
-
Save lurumad/078267d98a5287d12511b7681dfd5290 to your computer and use it in GitHub Desktop.
Handling errors
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<send-one-way-request mode="new"> | |
<set-url>https://hooks.slack.com/services/xxxxxxx/xxxxxxx/xxxxxxxxxx</set-url> | |
<set-method>POST</set-method> | |
<set-body>@{ | |
return new JObject( | |
new JProperty("text", context.LastError.Message) | |
).ToString(); | |
}</set-body> | |
</send-one-way-request> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment