Fix bad identifier in copy save code

This commit is contained in:
Hornwitser committed 2023-02-21 22:39:23 +01:00
1 parent 57c7e04f04
commit 0af1a25c93
1 file changed
+1 -1
+1 -1
View File
@@ -522,7 +522,7 @@ class Slave extends libLink.Link {
);
} catch (err) {
if (err.code === "ENOENT") {
throw new libErrors.RequestError(`${old_name} does not exist`);
throw new libErrors.RequestError(`${source} does not exist`);
}
throw err;
}