Catch errors before assigning registry