Skip to content

Commit

Permalink
improved error message closes #29
Browse files Browse the repository at this point in the history
  • Loading branch information
infinityofspace committed Sep 29, 2024
1 parent cf9b05d commit 3fbf0bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkb_client/client/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ def dns_import_bind(self, filename: str, restore_mode: DNSRestoreMode, **kwargs)
logging.error("import failed")
return False
else:
raise Exception("restore mode not supported")
raise Exception(f"restore mode '{restore_mode.value}' not supported")

logging.info("import successfully completed")

Expand Down

0 comments on commit 3fbf0bd

Please sign in to comment.