Commit 6eb60403 authored by Romain Courteaud's avatar Romain Courteaud Committed by Sebastien Robin

Keep the error body as is.

If it has to be fixed, do it on the server.
parent c607674f
...@@ -212,13 +212,14 @@ ...@@ -212,13 +212,14 @@
result.data = answer.target.response;\n result.data = answer.target.response;\n
}\n }\n
} else if (typeof answer.target.responseText === "string") {\n } else if (typeof answer.target.responseText === "string") {\n
dom = new DOMParser().parseFromString(\n result.message = answer.target.responseText;\n
answer.target.responseText,\n // dom = new DOMParser().parseFromString(\n
"text/html"\n // answer.target.responseText,\n
);\n // "text/html"\n
result.message = (dom.querySelector(\'#master\') ||\n // );\n
dom.firstElementChild).textContent;\n // result.message = (dom.querySelector(\'#master\') ||\n
if (!result.message) { delete result.message; }\n // dom.firstElementChild).textContent;\n
// if (!result.message) { delete result.message; }\n
}\n }\n
throw result;\n throw result;\n
}\n }\n
...@@ -640,7 +641,7 @@ ...@@ -640,7 +641,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>936.37712.8330.56490</string> </value> <value> <string>937.690.6828.44612</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -658,7 +659,7 @@ ...@@ -658,7 +659,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1406816893.97</float> <float>1410861948.88</float>
<string>GMT</string> <string>GMT</string>
</tuple> </tuple>
</state> </state>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment