qubesd: improve exception handling
qubesd: improve exception handling

QubesOS/qubes-issues#2622

marmarek/qubes-core-admin,QubesOS/qubes-core-admin,marmarek/qubes-core-admin,woju/qubes-core-admin,marmarek/qubes-core-admin,woju/qubes-core-admin,QubesOS/qubes-core-admin,woju/qubes-core-admin,woju/qubes-core-admin,QubesOS/qubes-core-admin