Use defer to keep going but exit with error code