mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-16 12:53:32 +00:00
catch request
This commit is contained in:
@@ -480,7 +480,12 @@ function useEntryActionsForRundown(scopedRundownId: string | undefined) {
|
|||||||
if (!rundownId) {
|
if (!rundownId) {
|
||||||
throw new Error('Rundown not initialised');
|
throw new Error('Rundown not initialised');
|
||||||
}
|
}
|
||||||
await requestFitGroupTarget(rundownId, eventId);
|
|
||||||
|
try {
|
||||||
|
await requestFitGroupTarget(rundownId, eventId);
|
||||||
|
} catch (error) {
|
||||||
|
logAxiosError('Error updating event', error);
|
||||||
|
}
|
||||||
},
|
},
|
||||||
[getCurrentRundownData],
|
[getCurrentRundownData],
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user