Maybe you want just "next" when rescuing, so it's more clear what you're doing when handling the Exception while registry_setvaldata