kogg / hovercards

HoverCards is a chrome extension that lets you see what's behind links from youtube, twitter, reddit, soundcloud, imgur, & instagram — all with out ever leaving the web page you're currently on.
http://hovercards.com
228 stars 33 forks source link

Can't report errors within an eval statement #188

Open saiichihashimoto opened 8 years ago

saiichihashimoto commented 8 years ago

We need to rid ourselves of the few eval statements we have so that we can actually identify errors within them.

https://sentry.io/kogg/hovercards/issues/156483391/

TypeError: Cannot read property 'postMessage' of null
  at X.g.C (eval at <anonymous> (chrome-extension://dighmiipfpfdfbfmpodcmfdgkkcakbco/top-frame.js:2:11053), <anonymous>:98:351)
  at Array.forEach.d (eval at <anonymous> (chrome-extension://dighmiipfpfdfbfmpodcmfdgkkcakbco/top-frame.js:2:11053), <anonymous>:18:177)
  at Nb.W.g (eval at <anonymous> (chrome-extension://dighmiipfpfdfbfmpodcmfdgkkcakbco/top-frame.js:2:11053), <anonymous>:123:235)
  at f (eval at <anonymous> (chrome-extension://dighmiipfpfdfbfmpodcmfdgkkcakbco/top-frame.js:2:11053), <anonymous>:72:28)
  at apply (~/raven-js/src/raven.js:286:28)
saiichihashimoto commented 8 years ago

https://sentry.io/kogg/hovercards/issues/156538407/