Remove top level error suppressors
This commit is contained in:
parent
4d19c46d7c
commit
22616bb77d
1 changed files with 9 additions and 15 deletions
|
@ -146,26 +146,20 @@ export default function ExportModal(props: Props) {
|
|||
|
||||
const toggleContinuousExport = async () => {
|
||||
if (!(await verifyExportFolderExists())) return;
|
||||
try {
|
||||
const newContinuousExport = !continuousExport;
|
||||
if (newContinuousExport) {
|
||||
exportService.enableContinuousExport();
|
||||
} else {
|
||||
exportService.disableContinuousExport();
|
||||
}
|
||||
updateContinuousExport(newContinuousExport);
|
||||
} catch (e) {
|
||||
log.error("onContinuousExportChange failed", e);
|
||||
|
||||
const newContinuousExport = !continuousExport;
|
||||
if (newContinuousExport) {
|
||||
exportService.enableContinuousExport();
|
||||
} else {
|
||||
exportService.disableContinuousExport();
|
||||
}
|
||||
updateContinuousExport(newContinuousExport);
|
||||
};
|
||||
|
||||
const startExport = async () => {
|
||||
if (!(await verifyExportFolderExists())) return;
|
||||
try {
|
||||
await exportService.scheduleExport();
|
||||
} catch (e) {
|
||||
log.error("scheduleExport failed", e);
|
||||
}
|
||||
|
||||
await exportService.scheduleExport();
|
||||
};
|
||||
|
||||
const stopExport = () => {
|
||||
|
|
Loading…
Reference in a new issue