Re-added safe handle exception which was necessary after all and enabled full loging of params when there is an unhandled exception