Fix source and target ordering on file install errors

This commit is contained in:
Kivi Kaitaniemi
2026-01-06 20:08:54 +02:00
parent 04770f6a34
commit a5ec25693e
+1 -1
View File
@@ -12,7 +12,7 @@ class FSInstallationFailedError(Exception):
Error raised when trying to install a file/directory to a target. Error raised when trying to install a file/directory to a target.
""" """
def __init__(self, target: str, source: str, reason: str): def __init__(self, source: str, target: str, reason: str):
self.source = source self.source = source
self.target = target self.target = target
super().__init__(f"Failed to install file from {source} to {target}: {reason}.") super().__init__(f"Failed to install file from {source} to {target}: {reason}.")