We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
golang101/articles/panic-and-recover-more.html
Line 375 in 4786215
我觉得原因应该是这个
recover函数并未直接在一个延迟函数调用中调用。
如果把defer去掉, 直接recover是OK的。因为你没有直接在函数对应的defer中调用, 而是在defer.defer中调用了recover
closed, 我理解错了
The text was updated successfully, but these errors were encountered:
No branches or pull requests
golang101/articles/panic-and-recover-more.html
Line 375 in 4786215
我觉得原因应该是这个
如果把defer去掉, 直接recover是OK的。因为你没有直接在函数对应的defer中调用, 而是在defer.defer中调用了recover
closed, 我理解错了
The text was updated successfully, but these errors were encountered: