This commit is contained in:
@@ -322,6 +322,8 @@ async def create_reaction(_, info, reaction):
|
|||||||
logger.error(f"Shout not found with ID: {shout_id}")
|
logger.error(f"Shout not found with ID: {shout_id}")
|
||||||
return {"error": "Shout not found"}
|
return {"error": "Shout not found"}
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
import traceback
|
||||||
|
traceback.print_exc()
|
||||||
logger.error(f"{type(e).__name__}: {e}")
|
logger.error(f"{type(e).__name__}: {e}")
|
||||||
return {"error": "Cannot create reaction."}
|
return {"error": "Cannot create reaction."}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user