No: the "unclear" message "Failed to set env" is an error message *you*
generated. You ignored the content of the "err" variable (which could have
contained a detailed description of the error), and replaced it with your
own bland text.
Try replacing it with something like this (untested):
logger.Error.Fatalf("Failed to set env: %v", err)
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/golang-nuts/07c78ff1-05df-4517-9627-ff0bbb759699n%40googlegroups.com.