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 1a0283d commit 6300caeCopy full SHA for 6300cae
internal/cmd/run.go
@@ -69,10 +69,10 @@ func (c *cmdRun) serveHTTP(srv *http.Server, addrSetByUser bool) {
69
if err := srv.ListenAndServe(); err != nil && !errors.Is(err, http.ErrServerClosed) {
70
// Only exit k6 if the user has explicitly set the REST API address
71
if addrSetByUser {
72
- logger.WithError(err).Error("Error from API server")
+ logger.WithError(err).Error("Error starting REST API server")
73
c.gs.OSExit(int(exitcodes.CannotStartRESTAPI))
74
} else {
75
- logger.WithError(err).Warn("Error from HTTP API server")
+ logger.WithError(err).Warn("Error starting REST API server")
76
}
77
78
0 commit comments