Skip to content

fix(#44): prevent /myfunc crash in UploadRoute thread handling#48

Open
linisha15 wants to merge 1 commit intoOSeMOSYS:masterfrom
linisha15:fix/44-myfunc-endpoint-crash
Open

fix(#44): prevent /myfunc crash in UploadRoute thread handling#48
linisha15 wants to merge 1 commit intoOSeMOSYS:masterfrom
linisha15:fix/44-myfunc-endpoint-crash

Conversation

@linisha15
Copy link

Description:
Fixes the crash in /myfunc caused by a constructor argument mismatch in the download thread.

Make Download compatible with /myfunc by allowing zippedFile to be optional
Guard file deletion so cleanup runs only when a zip path exists
Keep /backupCase behavior unchanged
Closes #44

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

Successfully merging this pull request may close these issues.

Bug: /myfunc endpoint crashes with TypeError

1 participant