gcrahay / otx_misp

Imports Alienvault OTX pulses to a MISP instance
Other
52 stars 42 forks source link

Avoid failure in one event to break all event import #15

Closed surfuga closed 7 years ago

surfuga commented 7 years ago

When importing a list of events (using the --timestamp option) and one of the events fails the import is stopped and no more events are imported. This change encloses every import in a try catch in order to be able to continue the import of the rest of the events when a single event import fails.