Commit 1f85aad6 authored by Tristan Cavelier's avatar Tristan Cavelier

throw instead of return fix

parent 235101a8
...@@ -456,7 +456,7 @@ ...@@ -456,7 +456,7 @@
}; };
function makeUnsupportedOptionsError(rejected_options) { function makeUnsupportedOptionsError(rejected_options) {
throw { return {
"status": 501, "status": 501,
"error": "UnsupportedOptionError", "error": "UnsupportedOptionError",
"reason": "unsupported option", "reason": "unsupported option",
......
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