Skip to content

Commit

Permalink
Fixing arguments erroneously given as kw-parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
lusitania committed Oct 5, 2014
1 parent c038b31 commit 0fdadcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion airbrake/handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def __init__(self, airbrake=None, level=logging.ERROR, project_id=None, api_key=
if isinstance(airbrake, Airbrake):
self.airbrake = airbrake
else:
self.airbrake = Airbrake(project_id=None, api_key=None, environment=None)
self.airbrake = Airbrake(project_id, api_key, environment)

def emit(self, record):
"""Log the record airbrake.io style.
Expand Down

0 comments on commit 0fdadcd

Please sign in to comment.