log uncaught exeptions