Skip to content
This repository has been archived by the owner on Aug 3, 2020. It is now read-only.

Commit

Permalink
fix exception constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
Craig Jellick committed Jan 25, 2016
1 parent 41fd1c0 commit a15faa6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cattle/agent/event.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ def on_message(ws, message):
ws.close()

def on_error(ws, error):
raise Exception('Received websocket error: [%s]', error)
raise Exception('Received websocket error: [%s]' % error)

def on_close(ws):
log.info('Websocket connection closed.')
Expand Down

0 comments on commit a15faa6

Please sign in to comment.