Skip to content

Commit

Permalink
Change logger.error for logger.exception
Browse files Browse the repository at this point in the history
Closes #20
  • Loading branch information
justingrayston committed Aug 5, 2020
1 parent 9f37e02 commit 35eb43d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -766,8 +766,7 @@ def cluster_analysis(payload):
raise BadRequest(QHULL_ERROR_MESSAGE)

except Exception as e:
logging.error(e)
logging.traceback.extract_tb(e)
logging.exception(e)
raise InternalServerError('Something went wrong!')


Expand Down

0 comments on commit 35eb43d

Please sign in to comment.