From a1d669835bc363fab56258147a01a6a946fae126 Mon Sep 17 00:00:00 2001 From: cage Date: Sat, 26 Feb 2022 11:26:41 +0100 Subject: [PATCH] - [kami] prevented crash when uploading or downloading failed. --- src/ui-goodies.lisp | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/src/ui-goodies.lisp b/src/ui-goodies.lisp index 7a98bcc..f72f61a 100644 --- a/src/ui-goodies.lisp +++ b/src/ui-goodies.lisp @@ -2691,9 +2691,10 @@ Note: existing file will be overwritten." (_"downloading ~a → ~a") remote-file local-file)) - (fstree:download-path win - remote-file - local-file))) + (tui:with-notify-errors + (fstree:download-path win + remote-file + local-file)))) remote-files local-files) (info-message (_"Downloading completed.") @@ -2740,9 +2741,10 @@ Note: existing file will be overwritten." (_"downloading ~a → ~a") source destination)) - (fstree:upload-path win - source - destination))) + (tui:with-notify-errors + (fstree:upload-path win + source + destination)))) destinations sources) (info-message (_"Uploading completed.")