catch all uncaught exceptions

this will fix those nasty errors crashing your server