Commit fa020d0
authored
fix: improve error messaging for http hooks (#1821)
## What kind of change does this PR introduce?
* HTTP hooks that return status codes outside of the accepted status
codes will cause Auth to return an obscure error message that is hard to
debug: `Error executing Hook` - this change is an attempt to improve the
error messaging to reflect the status code being rejected
## What is the current behavior?
Please link any relevant issues here.
## What is the new behavior?
Feel free to include screenshots if it includes visual changes.
## Additional context
Add any other context or screenshots.1 parent 3b03472 commit fa020d0
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
179 | 179 | | |
180 | 180 | | |
181 | 181 | | |
182 | | - | |
| 182 | + | |
183 | 183 | | |
184 | 184 | | |
185 | 185 | | |
| |||
0 commit comments