You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary:
When an Event Grid trigger function throws an exception, I would expect an HTTP 500 to be returned to Event Grid; instead, this returns an HTTP 202, so Event Grid believes that processing was successful, and it never replays the event.
Repro steps:
Add new "Event Grid trigger" function (C#).
Change body of function to "throw new Exception();"
Save and run.
Sample log output (using default/sample event):
2018-04-20T02:21:43.875 [Info] Function started (Id=)
2018-04-20T02:21:44.125 [Error] Exception while executing function: Functions.EventGridTriggerCSharp1. mscorlib: Exception has been thrown by the target of an invocation. f-EventGridTriggerCSharp1__1818170464: Exception of type 'System.Exception' was thrown.
2018-04-20T02:21:44.187 [Error] Function completed (Failure, Id=, Duration=313ms)
HTTP return code:
202 Accepted
The text was updated successfully, but these errors were encountered:
Summary:
When an Event Grid trigger function throws an exception, I would expect an HTTP 500 to be returned to Event Grid; instead, this returns an HTTP 202, so Event Grid believes that processing was successful, and it never replays the event.
Repro steps:
Sample log output (using default/sample event):
2018-04-20T02:21:43.875 [Info] Function started (Id=)
2018-04-20T02:21:44.125 [Error] Exception while executing function: Functions.EventGridTriggerCSharp1. mscorlib: Exception has been thrown by the target of an invocation. f-EventGridTriggerCSharp1__1818170464: Exception of type 'System.Exception' was thrown.
2018-04-20T02:21:44.187 [Error] Function completed (Failure, Id=, Duration=313ms)
HTTP return code:
202 Accepted
The text was updated successfully, but these errors were encountered: