Skip to content

Add a SentrySynchronousHttpTransport to run the posting without forking - #3

Open
eMaringolo wants to merge 1 commit into
peteruhnak:masterfrom
eMaringolo:sync-http
Open

Add a SentrySynchronousHttpTransport to run the posting without forking#3
eMaringolo wants to merge 1 commit into
peteruhnak:masterfrom
eMaringolo:sync-http

Conversation

@eMaringolo

Copy link
Copy Markdown

When running an app as CLI it is not possible to fork the error reporting, because the app can crash, fork and then exit the image without giving time for the forked process to finish submitting the issue to Sentry.

This PR adds a SentrySynchronousHttpTransport that will do the same, but synchronously (it is, without forking).

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant