Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Store App context with crash to send on next app start #711

Closed
rodolfoBee opened this issue Jul 31, 2023 · 6 comments
Closed

Store App context with crash to send on next app start #711

rodolfoBee opened this issue Jul 31, 2023 · 6 comments

Comments

@rodolfoBee
Copy link
Member

Problem Statement

Currently the app start time can be after when a crash happened as the app context is not saved see screenshots, where the start time matches the time the event was received (CEST = Z+2h).

Screenshot 2023-07-31 at 10 55 23
Screenshot 2023-07-31 at 10 55 03

Solution Brainstorm

Having this information stored with the rest of the scope and minidump will keep information consistent. Somehow related to: #679

@timfish
Copy link
Collaborator

timfish commented Jul 31, 2023

Is this a native crash in the main process?

@rodolfoBee
Copy link
Member Author

Main crash, here is a simple repro:
electron.zip

just add DSN in main.js, npm install and run.

@timfish
Copy link
Collaborator

timfish commented Aug 2, 2023

Closed via #683

@timfish timfish closed this as completed Aug 2, 2023
@Lonenso
Copy link

Lonenso commented Aug 3, 2023

@timfish, thanks for the fix, I want to verify it to see if it still repros, but I tried npm install [email protected]:getsentry/sentry-electron.git#85f82bc --save with no luck. could you tell me how to do it? since sentry might not release 4.9.0 too soon.

(I am this issue original reporter.

@timfish
Copy link
Collaborator

timfish commented Aug 3, 2023

The SDK cannot be installed via git because it uses TypeScript and needs to be built first. I'll try and get it released on npm today!

@timfish
Copy link
Collaborator

timfish commented Aug 3, 2023

When this issue closes, v4.9.0 will have been published to npm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants