This commit is contained in:
parent
3f1ef8dfd8
commit
52567557e8
|
@ -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."}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user