Add some tests for strategy_wrapper

This commit is contained in:
Matthias
2020-02-22 11:52:39 +01:00
parent 365fdf4c37
commit 8cd77b2e27
2 changed files with 39 additions and 0 deletions

View File

@@ -25,6 +25,7 @@ def strategy_safe_wrapper(f, message: str = "", default_retval=None):
return default_retval
except Exception as error:
logger.exception(
f"{message}"
f"Unexpected error {error} calling {f}"
)
if default_retval is None: