Fixed zero return value after panic got rescued.