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

Fixing #263 #271

Merged
merged 5 commits into from
Apr 27, 2024
Merged

Fixing #263 #271

merged 5 commits into from
Apr 27, 2024

Conversation

NeffIsBack
Copy link
Contributor

Fixes #263 by changing return value from False to None to match expected value, when handling errors. Also add a bit of error handling (to actually display the correct error) and string concatenation to prevent errors such as these in the future.

Before:
image

After:
image

@NeffIsBack NeffIsBack added the bug-fix This Pull Request fixes a bug label Apr 21, 2024
@mpgn
Copy link
Collaborator

mpgn commented Apr 21, 2024

Can you check with a result ?

@NeffIsBack
Copy link
Contributor Author

Oh yeah sorry, forgot that
image

@mpgn mpgn added this to the v1.2.0 milestone Apr 21, 2024
mpgn
mpgn previously approved these changes Apr 21, 2024
@NeffIsBack
Copy link
Contributor Author

NeffIsBack commented Apr 21, 2024

Glad we have the checks for the python version. It catched an incompatibility issue with datetime and python <3.11
https://github.com/Pennyw0rth/NetExec/actions/runs/8775197470/job/24077261540?pr=271

mpgn
mpgn previously approved these changes Apr 21, 2024
@Marshall-Hallenbeck
Copy link
Collaborator

Spoke with @NeffIsBack, I think catching that exception and having a proper error would be nice to let users know what the problem is instead of a stacktrace

@NeffIsBack
Copy link
Contributor Author

Updated to:
image
image

@Marshall-Hallenbeck
Copy link
Collaborator

Running tests now

Copy link
Collaborator

@Marshall-Hallenbeck Marshall-Hallenbeck left a comment

Choose a reason for hiding this comment

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

LGTM

@Marshall-Hallenbeck Marshall-Hallenbeck merged commit 9a05487 into main Apr 27, 2024
11 checks passed
@Marshall-Hallenbeck Marshall-Hallenbeck deleted the neff-asreproast branch April 27, 2024 20:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-fix This Pull Request fixes a bug tested
Projects
None yet
Development

Successfully merging this pull request may close these issues.

asreproast module error
3 participants