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

error handler: log error.stack which has more meaningful information

parent 8ded3cca
......@@ -597,7 +597,7 @@
if (error instanceof RSVP.CancellationError) {
throw error;
}
console.error(error);
console.error(error.stack);
document.querySelector("article[class='gadget_container']")
.innerHTML = error_template({ error: 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