Update error message
parent
a13fd19b69
commit
52142c832d
|
@ -101,10 +101,12 @@ export function process(id) {
|
|||
|
||||
if (nextBanner === undefined) {
|
||||
pushToast('Something went wrong, please leave a message on Discord 😅', 'error');
|
||||
Sentry.captureException(new Error('failed to get current banner'), {
|
||||
Sentry.captureMessage('failed to get current banner', {
|
||||
contexts: {
|
||||
pull,
|
||||
path,
|
||||
pullData: {
|
||||
pull,
|
||||
path,
|
||||
},
|
||||
},
|
||||
});
|
||||
return null;
|
||||
|
|
|
@ -139,10 +139,12 @@
|
|||
|
||||
if (currentBanner === undefined) {
|
||||
pushToast($t('wish.errorBanner'), 'error');
|
||||
Sentry.captureException(new Error('failed to get current banner'), {
|
||||
Sentry.captureMessage('failed to get current banner', {
|
||||
contexts: {
|
||||
pull,
|
||||
path,
|
||||
pullData: {
|
||||
pull,
|
||||
path,
|
||||
},
|
||||
},
|
||||
});
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue