I'm attempting to send any errors that the game creates and send them to my trello. Problem is, I'm not quite sure how to detect errors other than output.
error("") or warn("") won't be useful in this case.
I'm attempting to send any errors that the game creates and send them to my trello. Problem is, I'm not quite sure how to detect errors other than output.
error("") or warn("") won't be useful in this case.
Errors cause the Error event in ScriptContext to fire.
game:GetService("ScriptContext").Error:connect(function(message, stacktrace, script)
print("message",message)
print("stacktrace",stacktrace)
print("script",script)
end)
Have you tested this? I'm in school at the moment.
Yes it works. Also note that if this is only in a server Script it will not catch errors in a client Localscript.
How can I convert this to trello?
I am unsure of how exactly trello handles their data. You'll have to find one of their developer/api pages for help.
Okay so here's what I did: local cardId = ap:AddCard("Error", message.." | "..stacktrace.." | ",script, listId) "Script" part is erroring.
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
https://scriptinghelpers.org/blog/logging-errors-with-trello Try that