Commit 5c5bb8e2 authored by Vincent Bechu's avatar Vincent Bechu Committed by Eteri

erp5_officejs: service worker error make installer crash

parent 6535bec6
......@@ -56,13 +56,16 @@ var global = self, window = self;
});
})
.push(undefined, function (error) {
self.console.log(
"Relative_Url: ",
relative_url,
"\nCause: ",
error.message
);
return fetch(event.request);
if (error instanceof self.jIO.util.jIOError) {
self.console.log(
"Relative_Url: ",
relative_url,
"\nCause: ",
error.message
);
return fetch(event.request);
}
return new Response(error, {"statusText": error.message, "status": 500});
})
);
});
......
......@@ -227,7 +227,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>958.61563.34886.11246</string> </value>
<value> <string>959.7534.37330.9540</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -245,7 +245,7 @@
</tuple>
<state>
<tuple>
<float>1493383031.83</float>
<float>1493803503.24</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