fix(cli): Correct the printed path to detailed error logs
@@ -99,11 +99,7 @@ def display_error(func):
exc_type, exc_value, exc_traceback = sys.exc_info()
lines = traceback.format_exception(exc_type, exc_value, exc_traceback)
logger.error("".join(lines))
- wandb.termerror(
- "Find detailed error logs at: {}".format(
- os.path.join(_wandb_dir, "debug-cli.log")
- )
- )
+ wandb.termerror(f"Find detailed error logs at: {_wandb_log_path}")
click_exc = ClickWandbException(e)
click_exc.orig_type = exc_type
raise click_exc.with_traceback(sys.exc_info()[2])
