misc: small fix or general refactoring i did not bother commenting

This commit is contained in:
evilsocket 2018-03-06 22:06:32 +01:00
parent 7ec5b36f98
commit 4f8455553e
No known key found for this signature in database
GPG key ID: 1564D7F30393A456

View file

@ -135,7 +135,7 @@ func (gps *GPS) Start() error {
if s.Type == "GNGGA" {
gps.Session.GPS = info.(nmea.GNGGA)
} else {
log.Debug("Skipping message %v", s)
log.Debug("Skipping message %s: %v", s.Type, s)
}
} else {
log.Debug("Error parsing line '%s': %s", line, err)