Commit 81a1cd1d authored by Roque's avatar Roque

erp5_officejs: console log action error

parent b849729e
......@@ -155,6 +155,7 @@
return gadget.redirect(submit_dict.redirect);
}, function (error) {
if (!(error instanceof RSVP.CancellationError)) {
console.log("Action error:", error);
return gadget.notifySubmitted({
message: "Action Failed",
status: "error"
......@@ -275,7 +275,7 @@
<key> <string>serial</string> </key>
<value> <string>978.31411.12952.38502</string> </value>
<value> <string>986.35897.25368.15923</string> </value>
<key> <string>state</string> </key>
......@@ -293,7 +293,7 @@
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