Closed DariaKunoichi closed 8 months ago
One of the two default OnBeforeNotify callbacks was panicking if http request in Event's RawData was nil. Check for nil request added (https://github.com/bugsnag/bugsnag-go/pull/210).
-
Added check for nil http.Request in httpRequestMiddleware callback.
httpRequestMiddleware
Added unit tests for nil request scenario.
Goal
One of the two default OnBeforeNotify callbacks was panicking if http request in Event's RawData was nil. Check for nil request added (https://github.com/bugsnag/bugsnag-go/pull/210).
Design
-
Changeset
Added check for nil http.Request in
httpRequestMiddleware
callback.Testing
Added unit tests for nil request scenario.