borgbase / vorta

Desktop Backup Client for Borg Backup
https://vorta.borgbase.com
GNU General Public License v3.0
2k stars 133 forks source link

Better error message when adding repo fails #1700

Open m3nu opened 1 year ago

m3nu commented 1 year ago

Description

When adding a repository fails, we currently only show a generic error, like "Unable to add repository". To improve this, we would need to parse every log line and add some heuristics on why it failed. Some possible causes:

Solution

A better implementation would parse all logs of a Borg run and try to find key log patterns. Then translate them to a meaningful error message.

i1sm3ky commented 1 year ago

Some of the issues you mentioned can be fixed by #1349 and borg issue #6756.