We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is it possible to execute some code before retrying?
For example:
try: return function(base_db, sql_string, sql_vars, debug_sql) except (AttributeError, MySQLdb.OperationalError): base_db.__init__() return self.retry_db_errors(function(base_db, sql_string, sql_vars, debug_sql))
The text was updated successfully, but these errors were encountered:
That would be a feature request, currently not possible.
Sorry, something went wrong.
Interesting idea! Not sure if you still need the change, but probably wouldn't be too bad to implement.
Isn't this functionality already covered by callback_by_exception introduced by #5?
callback_by_exception
No branches or pull requests
Is it possible to execute some code before retrying?
For example:
The text was updated successfully, but these errors were encountered: