Skip to content

Commit

Permalink
fix: allow error to pass when connecting to telnet page
Browse files Browse the repository at this point in the history
  • Loading branch information
mavi0 authored Jul 25, 2024
1 parent b83028e commit d19e70f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/dlinkscraper/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ var (
// curl the telnet-enable page on the router
response, err := http.Get("http://" + viper.GetString("address") + ":8000/atsq.txt")
if err != nil {
logrus.WithError(err).Fatalln("error connecting to router telnet page")
logrus.WithError(err).Errorln("error connecting to router telnet page")
} else {
logrus.WithField("code", response).Infoln("Tenlet enable response code")
}
Expand Down

0 comments on commit d19e70f

Please sign in to comment.