request:body():json() crashes when no body passed #160
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
ArkForgeLabs/Astra#160
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Would it be a better behavior to return an empty table?
Thank you! I'll look into this
I think this is a valid response. we shouldn't assume a default value if there is no response. The crash is still within lua and can be caught in pcall as far as I tested