Skip to content

Commit

Permalink
Update activefires_pp/spatiotemporal_alarm_filtering.py
Browse files Browse the repository at this point in the history
Remove unused code

Co-authored-by: Martin Raspaud <martin.raspaud@smhi.se>
  • Loading branch information
adybbroe and mraspaud authored Oct 24, 2022
1 parent 8fa0a3d commit 5dc0eed
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions activefires_pp/spatiotemporal_alarm_filtering.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,9 +224,6 @@ def send_alarms(self, geojson_alarms, msg):
try:
post_alarm(alarm['features'], self.restapi_url, self._xauth_token)
LOG.info('Alarm sent - status OK')
# except (HTTPError, ConnectionError) as err:
# LOG.exception('Failed sending alarm! Error: %s', str(err))
# LOG.error('Data: %s', str(alarm['features']))
except (HTTPError, ConnectionError):
LOG.exception('Failed sending alarm!')
LOG.error('Data: %s', str(alarm['features']))
Expand Down

0 comments on commit 5dc0eed

Please sign in to comment.