Fix fatal error on default errors without exceptions