Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(sentry-types): Switch to checked version of
from_secs_f64
(#554)
This change make use of `try_from_secs_f64` (the checked version of `from_secs_f64`), avoiding panics if the incoming seconds is negative, overflows Duration or not finite.
- Loading branch information