Skip to content

Commit

Permalink
switch fatal
Browse files Browse the repository at this point in the history
  • Loading branch information
jaskerv committed Jun 20, 2023
1 parent 38bf85f commit e8ff9ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metricserver/metricserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ func (m *MetricServer) Start() {
m.s.Addr = fmt.Sprintf(":%v", m.port)

logrus.Infof("Started metric server on port %v", m.port)
logrus.Fatal(m.s.ListenAndServe())
logrus.Error(m.s.ListenAndServe())
}

func (m *MetricServer) Shutdown() {
Expand Down

0 comments on commit e8ff9ff

Please sign in to comment.