DBUS and exceptions

F

Frank Aune

Hi,

Im using DBUS in my application to detect HW hotplugging and removal, which
works great except for one thing: The code executed when a hotplugging is
detected does not raise exceptions, even if my code contains errors. The
event will just stop silently at the point where the exception occurs, and no
message is printed or logged.

This makes it hard of course to detect errors I make in the signal handlers,
when exceptions aren't raised. There is no try-except-pass clause in my code
either which hides the exceptions.

I was thinking perhaps its DBUS default behaviour to never fail in its signal
handlers?

Thanks,
Frank
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,599
Members
45,163
Latest member
Sasha15427
Top