Skip to content

Commit

Permalink
Merge c4b4dae into 85614b9
Browse files Browse the repository at this point in the history
  • Loading branch information
tofu-rocketry committed Aug 5, 2019
2 parents 85614b9 + c4b4dae commit 99193f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ssm/ssm2.py
Original file line number Diff line number Diff line change
Expand Up @@ -430,8 +430,8 @@ def pull_msg_ams(self):
# ack ID to the list of those to be acknowledged.
ackids.append(msg_ack_id)

except OSError, error:
log.error('Failed to read or write file: %s', error)
except (IOError, OSError) as e:
log.error('Failed to read or write file: %s', e)

# pass list of extracted ackIds to AMS Service so that
# it can move the offset for the next subscription pull
Expand Down

0 comments on commit 99193f7

Please sign in to comment.