https://discord.gg/botpress logo
Logging Workflow Errors
# 🤝help
b
Is there a way to capture the error messages from a workflow to use as a variable for logging? like if I want to log the exact error that has happened during a conversation, and send it out to the support to fix? I have been trying to create a log in a google sheets file whenever there is an error in the bot. I need it so that i can go and fix it when they happen. I want to be able to just have the whole error message captured like the one in the logs so that I can display it to myself as a way of understanding what's wrong. If not then just having basic error logs that tell you that an error exists wouldn't be helpful.
l
Will get back!
b
Thanks for getting back to me @loud-crowd-60573. I currently have it set up so that when it goes down the error workflow, it sends a request to make.com to just log it in the google sheet, and send the email. Is there a way of grabbing the exact error message rather than just logging that there is an error?
b
Yea I had that in mind, but haven't been able to automatically draw from it during the bot response. I might have to just keep sending the information like I already am and then go in a find the conversation ID associated with that error to see whats actually going wrong
3 Views