feat: updated music and background handling to support _form_x type background
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
export const handle = (err: string[]) => {
|
||||
if (err.length > 0) {
|
||||
if (err?.length > 0) {
|
||||
const str = `${err.length} error${err.length > 1 ? 's were' : ' was'} found:\n${err.join('\n')}`
|
||||
throw new Error(str)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user