Make sure the instance is valid before trying to access the script in after an error happened. If the instance is not valid it's possible that the script is invalid as well. Fix #29623
z_verbose
z_error
BIND_ENUM_CONSTANT