Skip to content

Commit

Permalink
add Class name to exception log
Browse files Browse the repository at this point in the history
  • Loading branch information
sot528 committed Sep 9, 2019
1 parent 6bd4fd7 commit 43d627b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/lambda_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def main(self):

return {
'statusCode': 500,
'body': json.dumps({'message': 'Internal server error'})
'body': json.dumps({'message': 'Internal server error: ' + self.__class__.__name__})
}

def __get_params(self):
Expand Down

0 comments on commit 43d627b

Please sign in to comment.