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

I don't want it to print 'stderr' on the Output #979

Open
yilmazdincer opened this issue Apr 28, 2023 · 1 comment
Open

I don't want it to print 'stderr' on the Output #979

yilmazdincer opened this issue Apr 28, 2023 · 1 comment

Comments

@yilmazdincer
Copy link

yilmazdincer commented Apr 28, 2023

Hi all,
I use PYMISP().add_attribute() to add multiple IOCs to MISP. Here, if there is duplicate state, I see "Stderr: Something went wrong (403): {'saved': False, 'name': 'Could not add Attribute', 'message': 'Could not add Attribute', 'url': '/attributes/add', 'errors': {'value': ['A similar attribute already exists for this event.']}}" in the output. How can I prevent this? So I don't want stderr to be written to the output even if it is duplicate.

@github-germ
Copy link

Have a look at MISP/MISP#5257

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

No branches or pull requests

2 participants