Commit 81a1cd1d authored by Roque's avatar Roque

erp5_officejs: console log action error

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