Show More
@@ -172,7 +172,13 b' var IPython = (function (IPython) {' | |||
|
172 | 172 | |
|
173 | 173 | Comm.prototype._maybe_callback = function (key, msg) { |
|
174 | 174 | var callback = this['_' + key + '_callback']; |
|
175 |
if (callback) |
|
|
175 | if (callback) { | |
|
176 | try { | |
|
177 | callback(msg); | |
|
178 | } catch (e) { | |
|
179 | console.log("Exception in Comm callback", e, msg); | |
|
180 | } | |
|
181 | } | |
|
176 | 182 | }; |
|
177 | 183 | |
|
178 | 184 | Comm.prototype.handle_msg = function (msg) { |
General Comments 0
You need to be logged in to leave comments.
Login now