diff options
Diffstat (limited to 'python')
-rw-r--r-- | python/servo/build_commands.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/python/servo/build_commands.py b/python/servo/build_commands.py index 2b0624d3a1d..135a48ef7ed 100644 --- a/python/servo/build_commands.py +++ b/python/servo/build_commands.py @@ -743,9 +743,8 @@ class MachCommands(CommandBase): {"transient": True}, # hints -1 # timeout ) - except ImportError: - print("[Warning] Could not generate notification: " - "Optional Python module 'dbus' is not installed.", + except Exception as exception: + print(f"[Warning] Could not generate notification: {exception}", file=sys.stderr) return True |