Yeah indeed it looks like the raise was used improperly. Probably a better thing to do here would be to use the excutils.save_and_reraise_exception() which provides a context manager that you can control if the exception should be re-raised or not.
Yeah indeed it looks like the raise was used improperly. Probably a better thing to do here would be to use the excutils. save_and_ reraise_ exception( ) which provides a context manager that you can control if the exception should be re-raised or not.