Commit 8680ffa0 authored by Roque's avatar Roque

erp5_officejs: more error logging for tests

- attempt to fix test
parent 93e22df7
......@@ -229,6 +229,7 @@ gadget_officejs_discussion_tool_router.html\n
/\n
app/\n
gadget_officejs_discussion_tool.configuration\n
app/gadget_officejs_discussion_tool.configuration\n
gadget_officejs_discussion_tool.json\n
gadget_officejs_bootloader.js\n
gadget_officejs_bootloader_presentation.html\n
......@@ -733,7 +734,7 @@ NETWORK:\n
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>974.29872.42985.19473</string> </value>
<value> <string>974.29931.57668.55773</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -751,7 +752,7 @@ NETWORK:\n
</tuple>
<state>
<tuple>
<float>1553006152.79</float>
<float>1553016192.1</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -138,7 +138,11 @@
if (!error.message) {
console.log("error getting the manifest:");
console.log(error);
error.message = "Can't get manifest. URL: " + url + " \n. error object: " + String(error);
var extra = "no-extra-info";
if (error && error.currentTarget) {
extra = "target.responseURL: " + error.currentTarget.responseURL + " . with status: " + error.currentTarget.status;
}
error.message = "Can't get manifest. URL: " + url + " \n. error extra: " + String(extra);
}
throw error;
});
......
......@@ -237,7 +237,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>974.30068.18493.49373</string> </value>
<value> <string>974.30112.49989.47786</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -255,7 +255,7 @@
</tuple>
<state>
<tuple>
<float>1553014464.38</float>
<float>1553017075.77</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -234,7 +234,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>974.29979.40844.25856</string> </value>
<value> <string>974.30106.8286.48844</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -252,7 +252,7 @@
</tuple>
<state>
<tuple>
<float>1553009106.08</float>
<float>1553017120.96</float>
<string>UTC</string>
</tuple>
</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