Skip to content

Conversation

FlameyosSnowy
Copy link
Contributor

In your example, if the exception is empty then you perform a .get() on it, which is a guaranteed NPE

Instead we'll do isPresent to fix the example

@Cobeine Cobeine merged commit 4e42391 into Cobeine:master Oct 1, 2025
1 check passed
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.

2 participants