Commit 46235b8b authored by Roque's avatar Roque Committed by Romain Courteaud

erp5_officejs: url manifest added in log error for appcachestorage gadget

parent f355bcbf
......@@ -87,13 +87,14 @@
};
AppCacheStorage.prototype.repair = function () {
var storage = this;
var storage = this, url = "";
return new RSVP.Queue()
.push(function () {
url = new URL(storage._manifest, new URL(storage._version,
storage._origin_url));
return jIO.util.ajax({
type: "GET",
url: new URL(storage._manifest, new URL(storage._version,
storage._origin_url))
url: url
});
})
.push(function (response) {
......@@ -123,7 +124,7 @@
})
.push(undefined, function (error) {
if (!error.message) {
error.message = "Can't get manifest";
error.message = "Can't get manifest. URL: " + url;
}
throw error;
});
......
......@@ -223,7 +223,7 @@
</item>
<item>
<key> <string>actor</string> </key>
<value> <string>vincent</string> </value>
<value> <string>zope</string> </value>
</item>
<item>
<key> <string>comment</string> </key>
......@@ -237,7 +237,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>964.50005.13436.62685</string> </value>
<value> <string>976.52707.23546.23773</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -255,7 +255,7 @@
</tuple>
<state>
<tuple>
<float>1515753347.5</float>
<float>1562079992.63</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