-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
Description
python_dynamodb_lock/python_dynamodb_lock/python_dynamodb_lock.py
Lines 880 to 886 in 1a2725a
def __exit__(self, exc_type, exc_value, traceback): | |
""" | |
Releases the lock - with best_effort=True | |
""" | |
logger.debug('Exiting: %s', self.unique_identifier) | |
self.release(best_effort=True) | |
return True |
I don't think context manager should suppress exceptions, makes for very annoying debugging experience and error handling.
benjackwhite, akuzminsky and yelizariev
Metadata
Metadata
Assignees
Labels
No labels