Commit fbde8cdc authored by Jérome Perrin's avatar Jérome Perrin

console.log the error during simulation run

parent 6fc633f9
...@@ -181,6 +181,7 @@ ...@@ -181,6 +181,7 @@
} else { } else {
$("#reports").hide(); $("#reports").hide();
$("#json_result").show().effect('shake', 50).val(data['error']); $("#json_result").show().effect('shake', 50).val(data['error']);
console.error(data['error'])
} }
}); });
e.preventDefault(); e.preventDefault();
......
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