File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -613,11 +613,12 @@ def debug_callback(value: bool):
613
613
or os .path .expanduser (defaults .config .debug_file_path )
614
614
)
615
615
if not debug_file_loc .exists ():
616
- print_error (
617
- f"The debug file '{ debug_file_loc } ' does not exist. This indicates that you have not run a command "
618
- f"which has logged debug output, or you deleted this file. If the debug file was created using the "
619
- f"BTCLI_DEBUG_FILE environment variable, please set the value for the same location, and re-run "
620
- f"this `btcli --debug` command."
616
+ err_console .print (
617
+ f"[red]Error: The debug file '{ arg__ (str (debug_file_loc ))} ' does not exist. This indicates that you have"
618
+ f" not run a command which has logged debug output, or you deleted this file. Debug logging only occurs"
619
+ f" if { arg__ ('use_cache' )} is set to True in your config ({ arg__ ('btcli config set' )} ). If the debug "
620
+ f"file was created using the { arg__ ('BTCLI_DEBUG_FILE' )} environment variable, please set the value for"
621
+ f" the same location, and re-run this { arg__ ('btcli --debug' )} command.[/red]"
621
622
)
622
623
raise typer .Exit ()
623
624
save_file_loc_ = Prompt .ask (
You can’t perform that action at this time.
0 commit comments