Skip to content

Conversation

svc-user
Copy link

When a plugin fails to open, print the error from the open call to aid in debugging why your custom scanner wont work.

@svc-user svc-user requested a review from sundowndev as a code owner January 17, 2023 19:52
Copy link
Owner

@sundowndev sundowndev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your PR 👍🏻

Could you edit tests as well? Look at scanner_test.go.

@svc-user
Copy link
Author

Thanks for your PR 👍🏻

Could you edit tests as well? Look at scanner_test.go.

I've updated the test to reflect the expected output.

@sundowndev sundowndev merged commit 8d7c622 into sundowndev:master Jan 22, 2023
@sundowndev
Copy link
Owner

Released in v2.10.2

@svc-user svc-user deleted the fix/print-error-on-plugin-fail branch January 22, 2023 11:25
@Denska10
Copy link

Denska10 commented Jul 2, 2023

Error

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.

3 participants