I know this question is a bit outside the realm of Stack Overflow, but I'm not finding anything and I'm wondering if I'm searching for the wrong thing.
I developed a JavaFX application and I'm trying to keep track of when it crashes or gets an unexpected exception. I know there are countless of services and libraries to do this for web apps and I'm even aware of one or two for .Net applications, but I'm failing to find a promising solution for JavaFX.
I did find:
- CrashFX: it seems it's not getting much development and it requires me hosting the server, which I'd rather not do if I can avoid.
- Crashlytics: it's only for Android, not for JavaFX
There are plenty of error trackers out there in the world, such as Sentry, Rollbar, etc. but all of them seem to designed for server applications which is different than client applications.
For example, in server applications it's very easy to wrap each request in a catch-all handler that will report the exception. A client application generates threads, each thread needs its own handler. The whole application may crash (actually, if something goes wrong, completely crashing is the correct thing to do instead of leaving an app misbehaving in the wrong state). At that point a popup should appear asking for some feedback and sending the report to the server.
An example of doing this by hand in .Net: https://stevenbenner.com/2010/01/reporting-of-unhandled-exceptions-in-your-distributable-net-application/