Open
Description
Hello,
The ADOExceptionReporter does not include the stack trace for error logs, only warnings. The problem is that our application is configured to not log warnings for NHibernate, and we cannot see the stack trace of the error logs in our observability system.
nhibernate-core/src/NHibernate/Util/ADOExceptionReporter.cs
Lines 29 to 34 in ebdbb6e
We propose to log errors like this: log.Error(ex, ex.Message)
.
Metadata
Metadata
Assignees
Labels
No labels