mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-28 12:36:35 +00:00
Butterchurn dont error out on non milk/json file in directory when loading
This commit is contained in:
parent
411669655f
commit
c631882d73
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue