Ensure we emit error during edit locally job setup issues
authorClaudio Cambra <claudio.cambra@nextcloud.com>
Mon, 27 May 2024 10:26:25 +0000 (18:26 +0800)
committerClaudio Cambra <claudio.cambra@nextcloud.com>
Mon, 22 Jul 2024 11:51:37 +0000 (19:51 +0800)
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
src/gui/editlocallyjob.cpp

index 8f0a906740f1b946c80347a3a947a5acbd3e5fa5..8b2e45085a68542e74dbc022ee9ef8fb2d2746d3 100644 (file)
@@ -47,6 +47,7 @@ void EditLocallyJob::startSetup()
                                     << "token:" << _token
                                     << "relPath:" << _relPath
                                     << "userId" << _userId;
+        showError(tr("Could not start editing locally."), tr("An error occurred during setup."));
         return;
     }