Would it maybe be more robust to do something like

```python
old_hook = sys.excepthook

def send_to_errbit(*args)
   # stuff
   old_hook(*args)

sys.except_hook = send_to_errbit
```
and that way if someone else changes this global value we are a good citizen and still call them?