diff --git a/dandi/cli/base.py b/dandi/cli/base.py index 79d96cb16..30fe73247 100644 --- a/dandi/cli/base.py +++ b/dandi/cli/base.py @@ -131,7 +131,7 @@ def wrapper(obj, *args, **kwargs): # raise click.UsageError(str(e)) except Exception as e: e_str = str(e) - lgr.debug("Caught exception %s", e_str) + lgr.debug("Caught exception %s", e_str, exc_info=True) if not map_to_click_exceptions._do_map: raise raise click.ClickException(e_str)