Xojo Sentry Client (API)?

Has anyone written a Xojo API to Sentry by chance? Before I write one I figured I’d ask. :slight_smile: :slight_smile:

https://getsentry.com/welcome/

Thanks!

In Xojo you need a plugin or a dylib to use Objective C code. Then Sentry is for catching Cocoa crashes and not Xojo ones. Wouldn’t it make more sense to ask the Sentry people for Xojo support?

So that is not what I was asking… – But to answer your question YES I have already asked Sentry for Xojo Support last week. However you can write your own Client using their RESTful API to send your STDOUT so that appears NOT to be the only option.

@Mike Cotrone: still don’t see a REST api. The question for me is: what can Sentry do that you can’t do on your own? Yes, I always get “your software doesn’t work”. But I get stack traces and crash reports with email. That isn’t the problem.

Finding out which line of code caused the NOE and getting feedback from customers: that’s the real problem for me. This ages old Feedback issue would help: <https://xojo.com/issue/15331>

It looks like you could write a client in pure Xojo using JSON and HTTPSecureSocket.

Looking at the Xcode project, I would think you could write a very small Xojo module to submit crash reports.

[quote=282444:@jim mckay]It looks like you could write a client in pure Xojo using JSON and HTTPSecureSocket.

Looking at the Xcode project, I would think you could write a very small Xojo module to submit crash reports.[/quote]

Jim exactly… that why I originally asked If anyone has written some code for their API. :slight_smile:
https://docs.getsentry.com/hosted/api/

Beatrix, for dev teams > 1 this has proven to our company to be a very efficient way to catch production issues from our code sending us issues through this API. We then manage this along with our BETA group members. For example I have 25 BETA group members that are all testing releases so this makes collecting issues at a higher level much more efficient.

Outside of our platform products the Mac Store Users NEVER report anything – They just STOP using your software. Again for this situation if I have issues that I don’t know are there this is an opportunity for us to be alerted of issues.

I am not looking for this platform to troubleshoot our code base, just give us a change with identifying unexpected issues.

Having your software email you stack traces and log files is great, I’m not saying it isn’t. Its just not comprehensive enough for us as a company.

That looks awesome! It’s open-source too so you could host your own Sentry server if you like.

I started a demo account and am playing with it. Pretty cool. I’ll send you a copy of what I have so far. Maybe a GitHub would be in order… I think this could be very useful for pretty much everyone.

Awesome Jim Thanks!! I’d make time to work with you on this client if you have time. I just made a repo and the email should be on its way to you.

Thanks!

I don’t have time to look at it right now, but this looks very interesting.
Found the repo too :slight_smile:
https://github.com/IntelligentVisibility/xojoSentry

1 Like