You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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)
.The text was updated successfully, but these errors were encountered: