diff --git a/js/actionCreators/milkdrop.ts b/js/actionCreators/milkdrop.ts index 73da3c1d..2e3d57c1 100644 --- a/js/actionCreators/milkdrop.ts +++ b/js/actionCreators/milkdrop.ts @@ -103,7 +103,7 @@ export function appendPresetFileList(fileList: FileList): Dispatchable { } } as StatePreset; } else { - throw new Error("Invalid type"); + console.error("Invalid type preset when loading directory"); } return null as never; })