Still getting the bug I reported a few times here but I may have some more info now:
Non-Error promise rejection captured with keys: alert, options, response, responseText
This does not happen every time I open the PWA on my phone but it happens fairly regularly. Looks like the new version of the PWA is catching the error now and I see it in Sentry:
{
alert: {
content: [Array],
controls: False,
type: error
},
options: {
background: True,
body: [Object],
config: [Function: <anonymous>],
deserialize: [Function: <anonymous>],
errorHandler: [Function: <anonymous>],
extract: [Function: <anonymous>],
method: POST,
url: https://www.tendigitgrid.com/api/pwa/push
},
response: {
errors: [Array]
},
responseText: {"errors":[{"status":"400","code":"csrf_token_mismatch"}]},
status: 400,
xhr: {
sentry_xhr: [Object],
abort: [Function: <anonymous>]
}
}