Log only database errors #2257
Unanswered
TheCataliasTNT2k
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is it possible to log only database errors with the corresponding query like "duplicate key", and omit all other stuff like "0 rows affected"?
So if I have a query, which does not result in an error, nothing should happen.
But if I have a query with an error result, I would like to have the query including parameters and the corresponding error logged.
Beta Was this translation helpful? Give feedback.
All reactions