Commit dca32117 authored by Vincent Bechu's avatar Vincent Bechu

[cloudooo] error 500

parent 75ad4abd
...@@ -54,7 +54,7 @@ ...@@ -54,7 +54,7 @@
to to
); );
} }
error = new jIO.util.jIOError('Conversion failed', 418); error = new jIO.util.jIOError('Conversion failed', 500);
error.detail = data.getElementsByTagName('string')[0].textContent; error.detail = data.getElementsByTagName('string')[0].textContent;
throw error; throw error;
}); });
......
...@@ -326,7 +326,7 @@ ...@@ -326,7 +326,7 @@
'<param><value><string>docy' + '<param><value><string>docy' +
'</string></value></param></params></methodCall>' '</string></value></param></params></methodCall>'
); );
equal(error.status_code, 418); equal(error.status_code, 500);
equal(error.message, 'Conversion failed'); equal(error.message, 'Conversion failed');
equal(error.detail, 'errorFromCloudooo'); equal(error.detail, 'errorFromCloudooo');
}) })
......
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