We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
promiseError
1 parent 71998dd commit 7fa9243Copy full SHA for 7fa9243
src/lib/index.js
@@ -256,17 +256,6 @@ lib.smooth = function(arrayIn, FWHM) {
256
return arrayOut;
257
};
258
259
-// helpers for promises
260
-
261
-/**
262
- * promiseError: log errors properly inside promises
263
- * use:
264
- * <promise>.then(undefined,Plotly.Lib.promiseError) (for IE compatibility)
265
- * or <promise>.catch(Plotly.Lib.promiseError)
266
- * TODO: I guess we need another step to send this error to Sentry?
267
- */
268
-lib.promiseError = function(err) { console.log(err, err.stack); };
269
270
/**
271
* syncOrAsync: run a sequence of functions synchronously
272
* as long as its returns are not promises (ie have no .then)
0 commit comments