kopia lustrzana https://github.com/projecthorus/chasemapper
Stop printing tracebacks on no-lock NMEA strings.
rodzic
1821807b2e
commit
85d849f7d0
|
@ -130,6 +130,8 @@ class SerialGPS(object):
|
||||||
# Attempt to parse data.
|
# Attempt to parse data.
|
||||||
try:
|
try:
|
||||||
self.parse_nmea(data.decode('ascii'))
|
self.parse_nmea(data.decode('ascii'))
|
||||||
|
except ValueError:
|
||||||
|
logging.debug("SerialGPS - ValueError when attempting to parse data. GPS may not have lock")
|
||||||
except:
|
except:
|
||||||
traceback.print_exc()
|
traceback.print_exc()
|
||||||
pass
|
pass
|
||||||
|
|
Ładowanie…
Reference in New Issue