We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7b8710 commit 22b1d61Copy full SHA for 22b1d61
1 file changed
grimmory.koplugin/main.lua
@@ -384,12 +384,22 @@ function Grimmory:onGrimmorySync(verbose)
384
end
385
386
if not ok then
387
- logger:err("Failed sync", result)
+ if should_terminate then
388
+ logger:info("Sync was interrupted by user")
389
- if verbose then
390
- self.dialog_manager:toast(
391
- T(_("Failed to Synchronize to Grimmory"))
392
- )
+ if verbose then
+ self.dialog_manager:toast(
+ _("Grimmory synchronization has been interrupted")
393
+ )
394
+ end
395
+ else
396
+ logger:err("Failed sync", result)
397
+
398
399
400
+ _("Failed to Synchronize to Grimmory")
401
402
403
404
405
return
0 commit comments