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
In NotifyOnPanic, the function returns normally instead of panicking if n.SendNotice returns an error. When this happens, the program returns an exit code of 0. This results in build pipelines, etc. proceeding normally and not halting due to a failure.
I suggest that panic(v) also be called in that error handling block instead of return.
The text was updated successfully, but these errors were encountered:
In
NotifyOnPanic
, the function returns normally instead of panicking ifn.SendNotice
returns an error. When this happens, the program returns an exit code of 0. This results in build pipelines, etc. proceeding normally and not halting due to a failure.I suggest that
panic(v)
also be called in that error handling block instead ofreturn
.The text was updated successfully, but these errors were encountered: