ring

2018-01-08T03:12:36.000016Z

@kumarshantanu in async middleware, exceptions can be thrown as usual or passed through raise.

2018-01-08T03:13:18.000034Z

The raise function should be used when you’re in a new thread.

2018-01-08T03:13:59.000025Z

In your case, you probably don’t need to do anything.

2018-01-08T03:14:36.000044Z

Async middleware generally only cares about errors if it’s consuming them for logging or display purposes.

Shantanu Kumar 2018-01-08T04:37:57.000025Z

Thanks @weavejester Is 'respond' required btw? I just copied the style from your 2016 blog post.

2018-01-08T14:30:15.000381Z

@kumarshantanu For async? Yes. How else would it communicate the information?