diff --git a/openedx/core/djangoapps/user_api/helpers.py b/openedx/core/djangoapps/user_api/helpers.py index 851bf4914c..230957fc09 100644 --- a/openedx/core/djangoapps/user_api/helpers.py +++ b/openedx/core/djangoapps/user_api/helpers.py @@ -78,7 +78,7 @@ def intercept_errors(api_error, ignore_errors=None): args=args, kwargs=kwargs, exception=ex.developer_message if hasattr(ex, 'developer_message') else repr(ex), - caller=caller.strip() + caller=caller.strip(), ) LOGGER.exception(msg) raise api_error(msg)