google / osv.dev

Open source vulnerability DB and triage service.
https://osv.dev
Apache License 2.0
1.49k stars 186 forks source link

fix(importer): update log message with error details #2574

Closed hogo6002 closed 3 weeks ago

hogo6002 commented 3 weeks ago

Add error message into the log for better debugging

another-rex commented 3 weeks ago

You might also want to print out the type of the exception. E.g. e.__class__.__name__. See https://stackoverflow.com/questions/9823936/how-do-i-determine-what-type-of-exception-occurred