Generally speaking if there's an uncaught exception, the right thing (TM) to do is to gracefully die.