Permalink
Browse files

Call Log.Error API with Message + Exception

  • Loading branch information...
mythz committed Dec 5, 2018
1 parent 1707719 commit dce71d27c969a2850c4f49b87ddc2d22ba7063be
Showing with 1 addition and 8 deletions.
  1. +1 −8 src/ServiceStack.OrmLite/OrmLiteUtils.cs
@@ -43,14 +43,7 @@ public static void HandleException(Exception ex, string message = null)
if (OrmLiteConfig.ThrowOnError)
throw ex;
if (message != null)
{
Log.Error(message, ex);
}
else
{
Log.Error(ex);
}
Log.Error(message ?? ex.Message, ex);
}
public static void DebugCommand(this ILog log, IDbCommand cmd)

0 comments on commit dce71d2

Please sign in to comment.