Improve exception information when deserializing IR
Merge pull request #936 from gzm0/deserialize-fail-info

Improve exception information when deserializing IR