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