Fixed XDM error content not being returned in the promise
0.1.13