Skip to content

Commit 7ed9cc3

Browse files
committed
Fix #298: Log Exception out to nlog target
1 parent 17841c9 commit 7ed9cc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Platforms/Exceptionless.NLog/NLogExceptionlessLog.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public void Error(string message, string source = null, Exception exception = nu
1919
if (LogLevel.Error < MinimumLogLevel)
2020
return;
2121

22-
_logger.ForErrorEvent().Message(message).LoggerName(source).Log();
22+
_logger.ForErrorEvent().Message(message).LoggerName(source).Exception(exception).Log();
2323
}
2424

2525
public void Info(string message, string source = null) {

0 commit comments

Comments
 (0)