HLR output in case of error

HLR API output was null in case of an error.