Currently the error handling is `ValueError` but we need to catch all exceptions.
Currently the error handling is
ValueErrorbut we need to catch all exceptions.