Giter Site home page Giter Site logo

bugsplat-git / bugsplat-dotnet-standard Goto Github PK

View Code? Open in Web Editor NEW
9.0 4.0 1.0 1.12 MB

๐ŸŒ‹๐Ÿ“‹๐Ÿ•ต๏ธ BugSplat error reporting for .NET Standard applications

Home Page: https://docs.bugsplat.com/introduction/getting-started/integrations/cross-platform/dot-net-standard

License: MIT License

C# 98.78% PowerShell 1.22%
dotnet dotnet-core dotnet-standard dotnet-framework bugsplat crash reporting error exception

bugsplat-dotnet-standard's People

Contributors

bobbyg603 avatar daveplunkett avatar zoolouie avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

zoolouie

bugsplat-dotnet-standard's Issues

Override ExceptionType and MinidumpType when Unknown

ExceptionPostOptions and MinidumpPostOptions were implemented without defaults for ExceptionType and MinidumpType respectively. The thought was that they would get initialized to null, but it turns out they get initialized to 0 and thus checking if they are equal to null will never work. We need to update them to override if the value is 0 (Unknown) instead and set the default value to Unknown.

https://github.com/BugSplat-Git/bugsplat-net-standard/blob/185b1297e5620d9e611e316ad70c4eb76d92fd3b/BugSplatDotNetStandard/BugSplat.cs#L93

https://github.com/BugSplat-Git/bugsplat-net-standard/blob/185b1297e5620d9e611e316ad70c4eb76d92fd3b/BugSplatDotNetStandard/BugSplat.cs#L111

https://github.com/BugSplat-Git/bugsplat-net-standard/blob/185b1297e5620d9e611e316ad70c4eb76d92fd3b/BugSplatDotNetStandard/BugSplatPostOptions.cs#L14

https://github.com/BugSplat-Git/bugsplat-net-standard/blob/185b1297e5620d9e611e316ad70c4eb76d92fd3b/BugSplatDotNetStandard/BugSplatPostOptions.cs#L22

Add Updated Header Info to ReadMe

Update the readme to match the styles in the BugSplat Website ReadMe

![bugsplat-github-banner-basic-outline](https://user-images.githubusercontent.com/20464226/149019306-3186103c-5315-4dad-a499-4fd1df408475.png)
<br/><br/> 
# <div align="center">BugSplat</div> 
### **<div align="center">Crash and error reporting built for busy developers.</div>**
<div align="center"> <img alt="Twitter Follow" src="https://img.shields.io/twitter/follow/bugsplatco?label=Follow%20BugSplat&style=social">  <img alt="Discord" src="https://img.shields.io/discord/664965194799251487?label=Join%20Discord&logo=Discord&style=social"> </div>

There's a whole world of shields (badges) we can add next to the Twitter and Discord ones. Maybe add a last commit or project size shield from - https://shields.io/category/rating.

Remove dependency on Newtonsoft

This package is used to provide support for exception and minidump posts in Unity. Unity's dependency management for packages appears to be non-existent and they already load a version of Newtonsoft into a shared AppDomain. This means that shipping a version of the Newtonsoft dll is not an option. Relying on the version of Newtonsoft loaded by Unity without defining the dependency anywhere feels pretty terrible too.

Instead of wading into this swamp let's tear out Newtonsoft. We can write our own Json parser and replace it when Unity supports .NET 5 or greater by using System.Text.Json.

Add Emoji's to the chapter headers

To make our repo's stand out a bit more, let's give them a spice of life with some emoji's in the chapter text.

Here's an example from our production website ReadMe

### :blue_book: Documentation
Our private repository and documentation is available at GitHub. Visit https://docs.bugsplat.com/ for further info.

You can find all of the emoji's github allows here - https://gist.github.com/rxaviers/7360908

Post Minidumps via Presigned URL

We took a shortcut when implementing this package and are currently posting directly to our web servers. To better support production volume we should acquire a presigned URL and post directly to S3. An example of how to do this can be seen here.

Add tests for AdditionalFormDataParams

It looks like we can create an internal constructor that accepts an IHttpClient and add the following attribute to make it available to the tests assembly:

[assembly: InternalsVisibleTo("BugSplatDotNetStandard.Test")]

Remove AttachFile

Replace with default Attachments on the class and AdditionalAttachments option

Add Build Check

We should run the unit tests before merging. This is something we've agreed to do as part of SOC2 compliance.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.