Logger.error would raise the error and exit, no?