create-reaction-debug-2
This commit is contained in:
parent
6be7ada9a1
commit
8eb36f0cc3
|
@ -263,7 +263,9 @@ async def create_reaction(_, info, reaction):
|
|||
return {"reaction": rdict}
|
||||
|
||||
except Exception as e:
|
||||
logger.error(f"[resolvers.reactions] error: {type(e).__name__} - {e}")
|
||||
import traceback
|
||||
traceback.print_exc
|
||||
logger.error(f"{type(e).__name__}: {e}")
|
||||
|
||||
return {"error": "Cannot create reaction."}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user