Skip to content

Commit

Permalink
Merge pull request #21 from googleartsculture/issue/20/tb-attribute-e…
Browse files Browse the repository at this point in the history
…rror

Change logger.error for logger.exception
  • Loading branch information
justingrayston authored Aug 5, 2020
2 parents 9f37e02 + 35eb43d commit e47430b
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 e47430b

Please sign in to comment.