log exceptions but don't crash