Whoops, derp
This commit is contained in:
parent
5a52c16bd8
commit
64064bd5e4
1 changed files with 10 additions and 7 deletions
|
@ -508,14 +508,17 @@ export const removeItem = (
|
|||
if (getState().settings.saveShowPlanChanges) {
|
||||
const result = await api.updateShowplan(timeslotId, ops);
|
||||
if (!result.every((x) => x.status)) {
|
||||
Sentry.captureException(new Error("Showplan update failure [addItem]"), {
|
||||
contexts: {
|
||||
updateShowplan: {
|
||||
ops,
|
||||
result,
|
||||
Sentry.captureException(
|
||||
new Error("Showplan update failure [removeItem]"),
|
||||
{
|
||||
contexts: {
|
||||
updateShowplan: {
|
||||
ops,
|
||||
result,
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
}
|
||||
);
|
||||
dispatch(showplan.actions.planSaveError("Failed to update show plan."));
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue