Comments (7)
Also not only this happens, but all Exceptions logged this way are bunched into the same crash group.
from hockeysdk-windows.
Okay I tried the HockeyClient.DescriptionLoader, but it seems to be something different. It should provide the description that the user types.
from hockeysdk-windows.
HockeyClient.SetExceptionDescriptionLoader API is controlling the log tab content, it is not affecting the crash description. @wldevries, could you please clarify what app type are you using (WPF, UWP, WinRT, etc) and provide a code sample that reproes this issue so that we can work on it on our side?
from hockeysdk-windows.
I'm using the WPF app type. The following is in my App.Startup event handler:
//configure HockeySDK client
HockeyClient.Current.Configure("{app id}")
.RegisterCustomDispatcherUnhandledExceptionLogic(ex => this.Shutdown(-1))
.RegisterCustomUnhandledExceptionLogic(ex => this.Shutdown(-1));
// These handlers will also log first chance exceptions such as the cannot connect to BtsServer
//.RegisterCustomUnobserveredTaskExceptionLogic(ex => HandleUnObservedTaskException(ex))
//.RegisterDefaultUnobservedTaskExceptionHandler();
(HockeyClient.Current as HockeyClient).SetContactInfo(Environment.MachineName, null);
//send stored crashlogs to HockeyApp server
await HockeyClient.Current.SendCrashesAsync();
And the following is how I log an Exception
. Note that this is not how we use it in our application, but it has the same effect. The description of the Crash will be a single '-'.
private void Crash(object sender, RoutedEventArgs e)
{
try
{
throw new InvalidOperationException("Something bad happened here");
}
catch (Exception ex)
{
(HockeyClient.Current as HockeyClient)?.HandleException(ex);
Environment.Exit(-1);
}
}
The reason we do this is because the Prism library swallows any Exceptions that occur in DelegateCommand
and the navigation system. Because the Exceptions are handled by Prism they are not picked up by AppDomain.CurrentDomain.UnhandledException
nor by Dispatcher.UnhandledException
.
from hockeysdk-windows.
Thanks, @wldevries. Acknowledge the issue, we will be working on fixing it.
from hockeysdk-windows.
Please note that reporting non fatal reports like unhandled exceptions is currently not officially supported but we are working on it. One limitation you should be aware of, is the API rate limit of 60 requests per minute. So sending a lot of non fatal errors could cause not getting the fatal errors in time. The SDKs will try to resend pending data later if the server rejected it.
from hockeysdk-windows.
Actually to us these errors are fatal, we even fatally fail manually on navigation errors in Prism.
from hockeysdk-windows.
Related Issues (20)
- Detect new version of package HOT 2
- Many errors in HockeySDK HOT 1
- Crashes after resuming from suspension HOT 2
- Desktop to UWP Bridge - WPF application HOT 5
- Question: Can HockeySDK and IoT HOT 7
- HockeyApp and Windows 10 IoT HOT 2
- Error in package manager console HOT 2
- UWP resume exception in Lumia devices HOT 1
- How to use Hockey app public API to store profiling info? HOT 1
- 'There are no more files' HOT 3
- CheckForUpdatesAsync throws exception when debugger is attached HOT 9
- Wpf Application Update MSI.Error - using HockeyClient.Current.CheckForUpdatesAsync HOT 7
- UWP "Telemetry item length must not exceed 65536" HOT 5
- Localized strack traces cannot be parsed by HockeyApp services (.Net) HOT 1
- test webhook HOT 1
- test HOT 1
- Windows 10 Universal Windows Platform (UWP) - Feedback HOT 2
- sendAutomatically instead of sendWithoutAsking HOT 3
- Wrong docs. Configure does not accept a second parameter.
- Calling TrackException throws KeyNotFoundException HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hockeysdk-windows.