Skip to content

Commit

Permalink
fix: Fix t.response.data undefined error (#506)
Browse files Browse the repository at this point in the history
* fix: Fix `t.response.data` undefined error

* Don't log notifications permissions error
  • Loading branch information
amaury1093 committed Mar 21, 2020
1 parent b44fa30 commit dd98291
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 10 deletions.
2 changes: 2 additions & 0 deletions App/util/sentry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ const UNTRACKED_ERRORS = [
'Location request timed out',
'Location request failed due to unsatisfied device settings',
'Reverse geocoding returned no results',
// Notifications not allowed
'Permission to access notifications was denied',
// No results from data providers
'does not have PM2.5 measurings right now',
'Cannot normalize, got 0 result'
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
"@expo/vector-icons": "^10.0.0",
"@hapi/hawk": "^8.0.0",
"@shootismoke/convert": "^0.2.8",
"@shootismoke/dataproviders": "^0.2.17",
"@shootismoke/graphql": "^0.2.19",
"@shootismoke/dataproviders": "^0.2.23",
"@shootismoke/graphql": "^0.2.22",
"@types/haversine": "^1.1.4",
"@types/i18n-js": "^3.0.1",
"@types/p-any": "^1.1.3",
Expand Down
16 changes: 8 additions & 8 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1875,10 +1875,10 @@
resolved "https://registry.yarnpkg.com/@shootismoke/convert/-/convert-0.2.8.tgz#328eb9d32aff370020f1ba17c1badc340c102300"
integrity sha512-fa8PdUZOCbEjrRAgteXBIywMNMaXriFcaiy+2PTqBLZKBhi/EkHm4BsdTO1WyYEQwj61YgGzkMYRrlA+1yX4kw==

"@shootismoke/dataproviders@^0.2.17":
version "0.2.17"
resolved "https://registry.yarnpkg.com/@shootismoke/dataproviders/-/dataproviders-0.2.17.tgz#0f6581e62ca44060a6849aaefcde3d9c91ff091c"
integrity sha512-t5a6J/x8tCIVIaFOCiOtrllrq6M7QiIdgTxoZWThFu52FaL8huVLD0dN9a5y6OJ0J3bkYsXx74sJTGYBCBB3aA==
"@shootismoke/dataproviders@^0.2.23":
version "0.2.23"
resolved "https://registry.yarnpkg.com/@shootismoke/dataproviders/-/dataproviders-0.2.23.tgz#b563826c0093552bb517e8e21ff1d7627adb244d"
integrity sha512-0Gy4WVhLw/xPwrq43Nkksa2FwkXzFTohVx6umQYhf9feF/2vQhmji76jjHQ6dIl+8cMdHGvhkXo94EtcWKYCOQ==
dependencies:
"@shootismoke/convert" "^0.2.8"
axios "^0.19.0"
Expand All @@ -1887,10 +1887,10 @@
fp-ts "^2.1.1"
io-ts "^2.0.1"

"@shootismoke/graphql@^0.2.19":
version "0.2.19"
resolved "https://registry.yarnpkg.com/@shootismoke/graphql/-/graphql-0.2.19.tgz#0a7fd0ac073e5bf0f12860d3a0ac5dd37b6437be"
integrity sha512-eYmubirdyj8RkAyxpyH9sBVqPETmPHTw1wf3oBOgJqXXiGI3Kyn6zOn9OqzWUtVolahUQ28eV/BCVkpYvA9MRg==
"@shootismoke/graphql@^0.2.22":
version "0.2.22"
resolved "https://registry.yarnpkg.com/@shootismoke/graphql/-/graphql-0.2.22.tgz#78b8bffc62e48c466562a2ae36ca82004afca372"
integrity sha512-l2DHSSqBZ998qyY0P2B04VoyZdiWUOTMt5ng+UDlMhgX3qpMF0H4mYzQkeEYXLNaSOSxNk6wDtoac2Ol7XYQdw==

"@types/babel__core@^7.1.0":
version "7.1.2"
Expand Down

0 comments on commit dd98291

Please sign in to comment.