diff --git a/resolvers/author.py b/resolvers/author.py index 941f9f37..3deee521 100644 --- a/resolvers/author.py +++ b/resolvers/author.py @@ -35,6 +35,9 @@ async def update_author(_, info, profile): session.commit() return {'error': None, 'author': author} except Exception as exc: + import traceback + + logger.error(traceback.format_exc()) return {'error': exc, 'author': None}