Commit 2c65efb8 authored by Daniel's avatar Daniel

ENH: More verbose error for failing server-side-scripts.

parent f6a99609
......@@ -111,7 +111,10 @@ this.connection = new function() {
});
} catch (error) {
if (error.status != null) {
throw new Error("POST scripting returned with HTTP status " + error.status + " - " + error.statusText);
throw new Error(
"POST scripting returned with HTTP status " + error.status
+ " - " + error.statusText + "\n"
+ pstring);
} else {
throw error;
}
......
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