Catching very general exceptions such as Exception is usually not recommended.
Generally, you would want to handle very specific errors in the exception handler.
This ensure that you do not hide other types of errors which should be fixed.
So, unless you specifically plan to handle any error, consider adding a more
specific exception.
The coding style of this project requires that you add a docstring to this code element. Below, you find an example for methods:
If you would like to know more about docstrings, we recommend to read PEP-257: Docstring Conventions.