Commit 9667739d authored by Sven Franck's avatar Sven Franck

ext/jio: allow replicatestorage to fail on erp5storage

parent f16ff9a5
......@@ -369,9 +369,11 @@
switch (true) {
// NOTE: this means if the master is 503, nothing will be saved on
// the slave? Is this what I would want? YES
// NOTE: leaving this will allow test pages to be saved, but
// will break at another place where 500 should not pass
case response.status >= 500:
command.error(response);
break;
// command.error(response);
// break;
// HACK: why does 204 return status code 0 on promises?
case response.status === 0:
default:
......
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