correct exception when registry is down