bug: File API lacks nil checking #300
Labels
bug
Something isn't working
good first issue
Good for newcomers
help wanted
Extra attention is needed
What would you like to be added:
According to feedback from @fengmk2 , he got a panic when testing the js-sdk:
Although this panic is recovered by mosn server, it's still a bug that we should avoid.
The stack in the above image is not consistent with Layotto's code in #258 branch,but I guess it is caused by:
Meanwhile,I found that many code of File API lacks nil checking,for example:
Why is this needed:
The text was updated successfully, but these errors were encountered: