getsentry / getsentry/sentry-rust

Panic when system is out of resources (unwrap)

Open
#530 3 comments 1 reaction 0 assignees View on GitHub
Improvement Rust
Dominant language
Rust
Stars
752
Forks
190
Avg merge
1h 21m
Merged PRs (30d)
5

Description

https://github.com/getsentry/sentry-rust/blob/96e1da3d4d5d4197899cab8cfdcfcdb672689e65/sentry-core/src/session.rs#L228

We're seeing processes fail with this message:
```
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Os {
code: 11, kind: WouldBlock, message: "Resource temporarily unavailable" }',

/sentry-core-0.27.0/src/session.rs:228:14
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
```

Unfortunately I do not have a full backtrace at this time.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.