Commit af5a029
authored
Adjust false positives from server errors (#30)
* feat: handle HttpException separately in MetricMiddleware
Added a catch block for HttpException in MetricMiddleware to treat them as valid HTTP responses, updating request_status label accordingly before ending the timer. This prevents HttpExceptions from being counted as internal errors.
* chore: remove close-pull-request and release workflows
Deleted GitHub Actions workflows for closing pull requests and handling releases. These workflows are no longer needed or have been moved.1 parent dfb0870 commit af5a029
3 files changed
Lines changed: 8 additions & 20 deletions
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
59 | 60 | | |
60 | 61 | | |
61 | 62 | | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
62 | 70 | | |
63 | 71 | | |
64 | 72 | | |
| |||
0 commit comments