Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add try-catch for bug in 'find-process' package #272

Merged
merged 3 commits into from
Aug 23, 2024

Conversation

cpendery
Copy link
Member

This fixes a bug in find-process where it's trying to use a string method on an undefined object. In this case, we just catch and log the error as debug since this isn't a critical flow (part of the shell detection heuristics)

Closes #270

cpendery and others added 3 commits August 23, 2024 12:31
Signed-off-by: Chapman Pendery <cpendery@vt.edu>
Signed-off-by: Chapman Pendery <cpendery@vt.edu>
@cpendery cpendery merged commit 7239eb3 into main Aug 23, 2024
10 checks passed
@cpendery cpendery deleted the fix/find-process-bug branch August 26, 2024 20:53
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.

TypeError: Cannot read properties of undefined (reading 'trim') (line.trim())
1 participant