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