Capturing Error

Is this still meant to work?

https://developer.electricimp.com/examples/crashreporter

For some reason nothing is posted to Slack for me. I can make manual calls to the Slack webhook. However the response from the async is never called. Tried changing to sync but I get this error instead: cannot suspend through native calls/metamethods

The response to async will always be called, but if something is timing out at the remote end, it may be a long while.

Maybe PM with the URL/code you’re using so we can look?

I’ve just been trying this out, and I’m seeing posts to Slack when I manually throw an error.

The SimpleSlack class does no error checking – have you tried logging the rsp.statuscode in the _done() function?