Skip to content

Conversation

@nebulon42
Copy link
Contributor

When the detector is disabled then no logger is passed to setupWithParams which leads to a NPE.

I moved the logger initialization upwards and passed the logger to the method.

@joshafeinberg
Copy link
Member

Just curious, what would you expect to get logged when the plugin is disabled. This fix seems fine but I'm not sure if anything gets logged before this point

@nebulon42
Copy link
Contributor Author

Not sure if I would expect anything logged, but I would rather not expect the NullPointerException. ;-)
The CI failure is just about the signing or do you see something else that is wrong?

@joshafeinberg joshafeinberg merged commit bd0d5f0 into dropbox:main Aug 18, 2025
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants