Skip to content

Commit

Permalink
Fixed logging parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
kroman0 committed Jan 16, 2015
1 parent 6a4043f commit 0d7b2f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/openprocurement/api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ def set_journal_handler(event):
'ROLE': str(event.request.authenticated_role),
'CURRENT_URL': event.request.url,
'CURRENT_PATH': event.request.path_info,
'REMOTE_ADDR': event.request.remote_addr,
'USER_AGENT': event.request.user_agent,
'REMOTE_ADDR': event.request.remote_addr or '',
'USER_AGENT': event.request.user_agent or '',
'AWARD_ID': '',
'BID_ID': '',
'COMPLAINT_ID': '',
Expand Down

0 comments on commit 0d7b2f7

Please sign in to comment.