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