datawire / quark

Quark is a specialized language for defining and implementing communication protocols in multiple languages.
http://datawire.github.io/quark/
Apache License 2.0
98 stars 24 forks source link

Edge seems to not support capturing error stack traces? #242

Open kflynn opened 8 years ago

kflynn commented 8 years ago

From Sentry:

TypeError
Object doesn't support property or method 'captureStackTrace'

../node_modules/quark/quark_runtime.js in Lock.prototype._fail at line 666:0
     }
     Lock.prototype.release = Lock_Release;
     Lock.prototype._fail = function(msg) {
         var obj = {};
->       Error.captureStackTrace(obj);
         console.error(msg, obj.stack);
         process.exit(1);
     };
     exports.Lock = Lock;
../node_modules/quark/quark_runtime.js in Lock_Acquire at line 650:0
../node_modules/quark/quark/concurrent/index.js in Collector_put at line 535:0
../node_modules/quark/quark/concurrent/index.js in Future_finish at line 202:0

So apparently the Windows 10 Edge browser doesn't support that.

kflynn commented 8 years ago

cf https://app.getsentry.com/datawireio/strobe/issues/144133916