Commit 289b3f6
committed
https-request: optionally log the corresponding
It is often exceedingly tedious to reproduce webhook delivery failures,
even though we now have a convenient script that finds the webhook
corresponding to a failed slash command.
Let's introduce an option (guarded by an environment variable) to log
the exact `curl` call to reproduce the call that might have failed.
This is guarded by default essentially for one reason: It also includes
the authorization token, unredacted, which would be unsafe by default.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>curl calls1 parent 7e819c2 commit 289b3f6
1 file changed
+11
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
21 | 32 | | |
22 | 33 | | |
23 | 34 | | |
| |||
0 commit comments