We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0fe0302 commit 08c6b0dCopy full SHA for 08c6b0d
1 file changed
packages/modules/backup_clouds/samba/backup_cloud.py
@@ -34,9 +34,7 @@ def upload_backup(config: SambaBackupCloudConfiguration, backup_filename: str, b
34
35
# Pfad prüfen
36
if re.search(r'[\\\:\*\?\"\<\>\|]+', config.smb_path):
37
- log.warning("Ungültige Zeichen im Pfad.")
38
- log.warning("Sicherung nicht erfolgreich.")
39
- return
+ raise Exception("Ungültige Zeichen im Pfad. Sicherung nicht erfolgreich.")
40
41
# ------------------------------------------------------------
42
# 1) SMB2/3 über Port 445 testen
0 commit comments