Lightw3ight / PlayMeExtension

A Chrome extension for the Play Me jukebox
5 stars 3 forks source link

Add sentry error tracking #5

Closed overflew closed 5 years ago

overflew commented 6 years ago

The free tier pricing only allows for 1 user, which is currently me: https://sentry.io/pricing/

I'll try figure out shipping the JS source maps later - for now it's a way to track if errors are happening in the wild.

Here's what it looks like on my Sentry console:

image

overflew commented 6 years ago

I thought I should have to add sentry.io to some list of allowed external domains - but it appears to be working without.

We have 'stuff like that' here: https://github.com/Lightw3ight/PlayMeExtension/blob/master/src/manifest.json (And I think I added the Spotify API URL in my other branch)

But the docs are all about accessing Google API stuff. https://developer.chrome.com/apps/declare_permissions

And I'm finding scarce examples it being used. Closest so far is the 'Stack overflow questions' example using the 'optional permissions' thing: https://developer.chrome.com/extensions/examples/api/permissions/extension-questions/manifest.json

from: https://developer.chrome.com/extensions/samples#search:permissions