bisync: provide more info in critical error msgs

This commit is contained in:
nielash
2023-11-11 00:34:41 -05:00
parent 44637dcd7f
commit 4d5d6ee61b
5 changed files with 33 additions and 5 deletions

View File

@@ -1231,6 +1231,7 @@ func (b *bisyncTest) newReplacer(mangle bool) *strings.Replacer {
"//?/" + strings.TrimSuffix(strings.Replace(b.path2, slash, "/", -1), "/"), "{path2}",
strings.TrimSuffix(b.path1, slash), "{path1}", // ensure it's still recognized without trailing slash
strings.TrimSuffix(b.path2, slash), "{path2}",
b.workDir, "{workdir}",
b.sessionName, "{session}",
}
if fixSlash {