Log uncaught exceptions on stderr