Commit 5d03680
authored
fix: do not prompt for restart on any db error, do not log not found errors (#435)
This fixes a bug where the log would prompt for a backend restart on any
unknown database error. This does not make sense as e.g. unique constraint
errors are not connection errors, but data errors that need to be fixed
by the user or client.
This also turns off logging for "not found" errors where no record exists that
matches the query as this could be confusing when analyzing the log - a record
not existing is not an error in the sense of our functionality here.1 parent 65fc9d2 commit 5d03680
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
54 | 56 | | |
55 | 57 | | |
56 | 58 | | |
| |||
0 commit comments