Commit 9e55f4aa authored by Julien Muchembled's avatar Julien Muchembled

gadget: catch errors from render()

parent 40fae545
......@@ -105,7 +105,12 @@
"key": sub_key,
"value": sub_value
}
)
).push(undefined, function (error) {
/* TODO: Highlight the gadget element with a small colored
* error message. Clicking on the element could unroll
* more information like the traceback. */
console.log(error);
})
);
}
if (gadget_attributes[i].sandbox === "iframe") {
......
......@@ -12,7 +12,7 @@
</item>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts20545059.65</string> </value>
<value> <string>ts64799067.07</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
......@@ -28,7 +28,7 @@
</item>
<item>
<key> <string>size</string> </key>
<value> <int>7063</int> </value>
<value> <int>7383</int> </value>
</item>
<item>
<key> <string>title</string> </key>
......
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