Commit 2a0e2a01 authored by Romain Courteaud's avatar Romain Courteaud

[erp5_web_renderjs_ui] Do not silently catch all errors.

Error handling function should always throw the catched error by default
parent 16af4ed0
...@@ -114,6 +114,7 @@ ...@@ -114,6 +114,7 @@
// Redirect to the login view\n // Redirect to the login view\n
return gadget.redirect({command: \'display\', options: {page: \'login\'}});\n return gadget.redirect({command: \'display\', options: {page: \'login\'}});\n
}\n }\n
throw error;\n
});\n });\n
}\n }\n
\n \n
...@@ -334,7 +335,7 @@ ...@@ -334,7 +335,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>946.49070.15531.48588</string> </value> <value> <string>946.56060.11774.33006</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -352,7 +353,7 @@ ...@@ -352,7 +353,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1446127591.78</float> <float>1446547368.37</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