Commit a2c16bf2 authored by Roque's avatar Roque

erp5_officejs: url manifest added in log error for appcachestorage gadget

parent d068e37f
......@@ -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;
});
......
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