mirror of
https://github.com/nextcloud/desktop.git
synced 2024-10-26 22:35:55 +03:00
owncloudcmd: log sync errors
Previously it was hard to debug some errors since the messages would not show up in the output.
This commit is contained in:
parent
b974f579ae
commit
ee1078b768
1 changed files with 2 additions and 0 deletions
|
@ -535,6 +535,8 @@ restart_sync:
|
|||
QObject::connect(&engine, &SyncEngine::finished,
|
||||
[&app](bool result) { app.exit(result ? EXIT_SUCCESS : EXIT_FAILURE); });
|
||||
QObject::connect(&engine, &SyncEngine::transmissionProgress, &cmd, &Cmd::transmissionProgressSlot);
|
||||
QObject::connect(&engine, &SyncEngine::syncError,
|
||||
[](const QString &error) { qWarning() << "Sync error:" << error; });
|
||||
|
||||
|
||||
// Exclude lists
|
||||
|
|
Loading…
Reference in a new issue