Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/alexandresanlim/dotnet-slack-exception-log-send

Create a bug report with exceptions from your code and send to Slack
https://github.com/alexandresanlim/dotnet-slack-exception-log-send

bug csharp dotnet exception-handler exceptions nuget report slack xamarin xamarin-forms

Last synced: about 10 hours ago
JSON representation

Create a bug report with exceptions from your code and send to Slack

Awesome Lists containing this project

README

        

# Slack Exception Send

[![Nuget](https://img.shields.io/nuget/dt/Slack.Exception.Send)](https://www.nuget.org/packages/Slack.Exception.Send)
[![Nuget](https://img.shields.io/nuget/v/Slack.Exception.Send)](https://www.nuget.org/packages/Slack.Exception.Send)

With this .net package you will be able to create a bug report with Slack application, inspect and track any issues your users run into while running your app.

# How to use?
It's really simple, send an error to be tracked as a handled exception using the function SendToSlack:
```csharp
try
{
//your code here
}
catch (System.Exception ex)
{
ex.SendToSlack();
}
```
Results in:

![alt text](https://i.imgur.com/Pc0MXIj.png)

## How to start it?
We have a [great wiki article](https://github.com/alexandresanlim/DotNet.Slack.ExceptionSend/wiki) explaining exactly that or follow the steps:

[1 - Prepare your Slack channel to receive exceptions](https://github.com/alexandresanlim/DotNet.Slack.ExceptionSend/wiki/1---Prepare-your-slack-channel-to-receive-exceptions)

[2 - Prepare your application to send exceptions](https://github.com/alexandresanlim/DotNet.Slack.ExceptionSend/wiki/2-Prepare-your-application-to-send-exceptions-to-Slack-channel)

[3 - Customizations](https://github.com/alexandresanlim/DotNet.Slack.ExceptionSend/wiki/3-Customizations)

[3.1 - Add extra fields](https://github.com/alexandresanlim/DotNet.Slack.ExceptionSend/wiki/3.1-Add-extra-fields)

[3.2 - Add actions](https://github.com/alexandresanlim/DotNet.Slack.ExceptionSend/wiki/3.2-Add-Actions)

[4 - Execute tests on this project](https://github.com/alexandresanlim/DotNet.Slack.ExceptionSend/wiki/4-Execute-tests-on-this-project)