Skip to content

Commit

Permalink
Documenting the ErrorOnCapture property of SharpRaven.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rob Church committed Jan 21, 2016
1 parent d2e8f62 commit 4c6b071
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,19 @@ public class LoggingModule : NancyModule
}
````

Debugging SharpRaven
--------------------

If an exception is raised internally to `RavenClient` it is logged to the Console. To extend this behaviour use
the property `ErrorOnCapture`:

```csharp
ravenClient.ErrorOnCapture = exception => {
// custom code here
};
````


Get it!
-------
You can clone and build SharpRaven yourself, but for those of us who are happy with prebuilt binaries, there's [a NuGet package](https://www.nuget.org/packages/SharpRaven).
Expand Down

0 comments on commit 4c6b071

Please sign in to comment.