Permalink
Browse files

Reduce log level priority for publisher failure

  • Loading branch information...
1 parent 847aa45 commit a8d91325be80bc26b37e4b027556893a6251a978 @cmcginty committed Aug 10, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 scripts/weatherpub.py
@@ -106,7 +106,7 @@ def weather_update(station, pub_sites, interval):
ps.publish()
except (Exception) as e:
- log.error(e)
+ log.warn('publisher %s: %s'%(ps.__class__.__name__,e))
def init_log( quiet, debug ):

0 comments on commit a8d9132

Please sign in to comment.