Python

Python : Error handling: generic exception

Classification

Overview

The application generates an exception of a general type making it difficult to diagnose and recover from errors.

It is recommended to take full advantage of the exception mechanism for error handling, which allows to accurately determine the type of exception in order to then process it in the proper catch-block.

LOW

DerScanner Severity Score

Check your Python code for this vulnerability, free

Request a free pilot of DerScanner. We give you access and help with the first scan. It works in the cloud and on-premise.

Try it on your code, free

By submitting this form, I acknowledge that DerScanner may process my personal data I provided above for purposes explained above. More details about the processing.