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
See #2439 #2441
The above needs proper solutions, but we got to postpone those.
A temporary hack would be to:
convert
The text was updated successfully, but these errors were encountered:
Can you isolate the conversions in wrapper functions to recover from panics?
func marshalYAML(v interface{}) (b []byte, err error) { defer func() { if r := recover(); r != nil { var ok bool err, ok = r.(error) if !ok { err = fmt.Errorf("pkg: %v", r) } } }() return yaml.Marshal(v) }
Sorry, something went wrong.
The recover is implicit in 2) above. I know Go. I taught Steve Go. And now he is on the Go team :-)
But you are correct, your wrapper func would work.
9c017e5
commands: Add some band-aid to convert
7c8b207
Fixes gohugoio#2458
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
bep
No branches or pull requests
See #2439 #2441
The above needs proper solutions, but we got to postpone those.
A temporary hack would be to:
convert
The text was updated successfully, but these errors were encountered: