Skip to content
Snippets Groups Projects
Commit ed07535a authored by Karishma Chadha's avatar Karishma Chadha
Browse files

Log unexpected file type.

parent 579c61ae
No related branches found
No related tags found
No related merge requests found
......@@ -108,6 +108,7 @@ const costumeUpload = function (fileData, fileType, costumeName, storage, handle
break;
}
default:
log.warn(`Encountered unexpected file type: ${fileType}`);
return;
}
......@@ -160,6 +161,7 @@ const soundUpload = function (fileData, fileType, soundName, storage, handleSoun
break;
}
default:
log.warn(`Encountered unexpected file type: ${fileType}`);
return;
}
......@@ -209,6 +211,7 @@ const spriteUpload = function (fileData, fileType, spriteName, storage, handleSp
return;
}
default: {
log.warn(`Encountered unexpected file type: ${fileType}`);
return;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment