Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding an animated gif crashes the application. #356

Open
rjpadilla opened this issue Jul 19, 2021 · 0 comments
Open

Adding an animated gif crashes the application. #356

rjpadilla opened this issue Jul 19, 2021 · 0 comments

Comments

@rjpadilla
Copy link
Contributor

Executing (default): SELECT "id", "title", "resourceFor", "publisher", "linkToLicense", "uploadDate", "addedBy", "openWith", "subject", "articleDate", "kind", "language", "author", "sum", "level", "languages", "timesRated", "tag", "year", "averageRating", "filename", "mediaType", "description", "tags", "medium", "isDownloadable", "resourceType", "openUrl", "attachments" FROM "resources" AS "resources" LIMIT 5 OFFSET 0;
/mnt/c/Users/RJ/Desktop/treehouses/upstream-planetfarms/api/src/helpers/filehelpers.js:33
    throw new Error('Format not valid')
    ^

Error: Format not valid
    at checkFileType (/mnt/c/Users/RJ/Desktop/treehouses/upstream-planetfarms/api/src/helpers/filehelpers.js:33:11)
    at fileFilter (/mnt/c/Users/RJ/Desktop/treehouses/upstream-planetfarms/api/src/helpers/filehelpers.js:40:5)
    at wrappedFileFilter (/mnt/c/Users/RJ/Desktop/treehouses/upstream-planetfarms/api/node_modules/multer/index.js:44:7)
    at Busboy.<anonymous> (/mnt/c/Users/RJ/Desktop/treehouses/upstream-planetfarms/api/node_modules/multer/lib/make-middleware.js:114:7)
    at Busboy.emit (events.js:375:28)
    at Busboy.emit (/mnt/c/Users/RJ/Desktop/treehouses/upstream-planetfarms/api/node_modules/busboy/lib/main.js:38:33)
    at PartStream.<anonymous> (/mnt/c/Users/RJ/Desktop/treehouses/upstream-planetfarms/api/node_modules/busboy/lib/types/multipart.js:213:13)
    at PartStream.emit (events.js:375:28)
    at HeaderParser.<anonymous> (/mnt/c/Users/RJ/Desktop/treehouses/upstream-planetfarms/api/node_modules/dicer/lib/Dicer.js:51:16)
    at HeaderParser.emit (events.js:375:28)
[nodemon] app crashed - waiting for file changes before starting...

The gif that I used that crashed the application is this -->
elmo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant