1
0
Fork 0

- [kami] prevented crash when uploading or downloading failed.

This commit is contained in:
cage 2022-02-26 11:26:41 +01:00
parent 80755d9047
commit a1d669835b
1 changed files with 8 additions and 6 deletions

View File

@ -2691,9 +2691,10 @@ Note: existing file will be overwritten."
(_"downloading ~a → ~a") (_"downloading ~a → ~a")
remote-file remote-file
local-file)) local-file))
(tui:with-notify-errors
(fstree:download-path win (fstree:download-path win
remote-file remote-file
local-file))) local-file))))
remote-files remote-files
local-files) local-files)
(info-message (_"Downloading completed.") (info-message (_"Downloading completed.")
@ -2740,9 +2741,10 @@ Note: existing file will be overwritten."
(_"downloading ~a → ~a") (_"downloading ~a → ~a")
source source
destination)) destination))
(tui:with-notify-errors
(fstree:upload-path win (fstree:upload-path win
source source
destination))) destination))))
destinations destinations
sources) sources)
(info-message (_"Uploading completed.") (info-message (_"Uploading completed.")