We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 113f345 commit 44ca2d7Copy full SHA for 44ca2d7
site/site.go
@@ -166,7 +166,7 @@ func New(opts *Options) *Handler {
166
167
handler.installScript, err = parseInstallScript(opts.SiteFS, opts.BuildInfo)
168
if err != nil {
169
- _, _ = fmt.Fprintf(os.Stderr, "install.sh will be unavailable: %v", err.Error())
+ opts.Logger.Warn(context.Background(), fmt.Sprintf("install.sh will be unavailable: %s", err.Error()))
170
}
171
172
return handler
0 commit comments