mirror of
https://github.com/golang/go.git
synced 2025-05-05 15:43:04 +00:00
Currently, if the blog binary is executed outside the root directory without any additional flags, it bails out with the following error - "open template/root.tmpl: no such file or directory" This CL prints out a more user friendly error which allows the user to learn that there is a flag with which the template directory can be set. Fixes golang/go#22622 Change-Id: I726e7c28f5e5036146769ca01516368f45a6262c Reviewed-on: https://go-review.googlesource.com/86855 Run-TryBot: Andrew Gerrand <adg@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Andrew Gerrand <adg@golang.org>