update-after-debug-2
This commit is contained in:
parent
c346481ade
commit
e97ffacd23
|
@ -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}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user