Skip to content
This repository has been archived by the owner on Aug 30, 2023. It is now read-only.

Commit

Permalink
Merge pull request #118 from xpicio/develop
Browse files Browse the repository at this point in the history
Skip empty dictionary on "Additional Data"
  • Loading branch information
asbjornu committed Mar 30, 2016
2 parents cc1af3b + 80a5cea commit a10dcd7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/app/SharpRaven/Data/ExceptionData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,12 @@ public ExceptionData(Exception exception)
return;

var exceptionData = new ExceptionData(exception.InnerException);

if (exceptionData.Count == 0)
{
return;
}

exceptionData.AddTo(this);
}

Expand Down

0 comments on commit a10dcd7

Please sign in to comment.