debug-create-reaction
All checks were successful
Deploy on push / deploy (push) Successful in 5s

This commit is contained in:
Untone 2024-11-02 13:44:00 +03:00
parent 3f1ef8dfd8
commit 52567557e8

View File

@ -322,6 +322,8 @@ async def create_reaction(_, info, reaction):
logger.error(f"Shout not found with ID: {shout_id}")
return {"error": "Shout not found"}
except Exception as e:
import traceback
traceback.print_exc()
logger.error(f"{type(e).__name__}: {e}")
return {"error": "Cannot create reaction."}