Fixed an exception blackhole in the smart registry