Scripting Helpers is winding down operations and is now read-only. More info→
← Blog Home

Logging Errors with Trello

A reworded (and arguably better) version of this article has been uploaded on my Medium account. Click here to read the article.

Be honest: debugging a ROBLOX game that is live can be a pain. Most casual players have no idea about anything technical in your game, so when something goes wrong they are going to complain. Most of the time, you will probably tell them something along the lines of "use the Developer Console", but even then they have no access to server-side scripts.

This is where using Trello can be handy. With Trello, you can have your game log errors and send them up to a Trello board, where it will be logged as an individual card.

Sounds exciting? Great. Let's make this thing and get error logging in your project today.



If you visit the Trello homepage, your page probably looks (give or take a few boards) like mine. You should have a nice big button that says Create new board.... Go ahead and click that.

This prompt below should show up. Give it a nice title, make sure to make your board public, and click the Create button to create your new board.

After you have created your board and entered it, it should be blank. Click on the Add a list... button to create a new list. This list will host all of the individual cards that will contain errors that occur in our game. Be sure to give it a title!

Our board is ready. Now, we need to set up permissions. Visit this page to get an API key. It should look something like the picture below. We will refer to the value as your Key. Store it in a safe place.

After that, visit the link below. This activates the key we generated before and gives it permission to read and write to your Trello. Be sure to replace YOUR_KEY with your Key.

https://trello.com/1/authorize?key=YOUR_KEY&name=ROBLOXErrors&expiration=never&response_type=token&scope=read,write

If you did this correctly, the following prompt should show up. Click the Allow button to finish the process.

You should be redirected to a page that has the lines below. Right under the lines should be a long string of characters. This is your Token. Store it in a safe place, and do not share it with anybody (unless you have revoked your token, like I have).

Now go to this GitHub repository and download ROBLOX-Trello-Error-Logging.rbxmx. This is a ROBLOX model that you can insert into your game. The code in the model is also in the repository in case you cannot download the model. Put it in your game like in the picture below.

Be sure to enable HttpService by turning on HttpEnabled. You can do this by running the following line in the Command Bar in Studio. game:GetService("HttpService").HttpEnabled = true

I included a Script named TestCase with a simple error (print(0 + "")) so you can make sure you set it all up correctly.

Clicking on one of the cards should show you the stack trace in the card's description.

Since all of the code is in the repository, you can go ahead and read through it to see how it works if you're interested.

Cheers.

Posted in Scripting Tips

Commentary

Leave a Comment

HungryJaffer says: August 31, 2015
This sounds cool. Trello is free, right?
Unclear says: August 31, 2015
Yes.
HungryJaffer says: August 31, 2015
this is dank, i got it working
legomaster38 says: August 31, 2015
W00t, a new erroring system that is much more easier to diagnose with nice.
Discern says: September 1, 2015
Wow!
chess123mate says: September 2, 2015
Thank you so much!
Nickoakz says: September 2, 2015
I don't see what's wrong with Google Analytics though. That's powerfull, and roblox already has a wiki http://wiki.roblox.com/index.php?title=GoogleAnalyticsModel
Mokiros says: September 2, 2015
Thanks! It really helpful! And with given script i made reporting feature!
Unclear says: September 2, 2015
@Nickoplier Trello is arguably easier to set up and is definitely something an intro-level developer can do with this tutorial in less time.
GullibleChapV2 says: September 3, 2015
Going to try and edit it to make a feedback system.
unmiss says: September 4, 2015
I have used standard Trello APIs multiple times before but this is something extremely useful for developers. Probably one of the most beneficial blog posts. Thanks!
HungryJaffer says: September 8, 2015
Yona, with google analytics, is there unlimited requests that can be sent?
Aethex says: September 15, 2015
interesting: http://prntscr.com/8ghbrm
darkelementallord says: October 24, 2015
I've considered using this before, however. If you have a game with a high visit count, you could have your trello spammed by the same error. By using the GetAsync to check if the error is already there is okay, but if I want to get an idea on my trello of how many times my game is erroring, it is difficult because roblox doesn't permit use of the DeleteAsync or EditAsync...
buoyantair says: October 27, 2015
Wow Cool!
iaz3 says: January 27, 2016
The story was deleted for some reason. It was there yesterday/day before I was kinda planning to read that.
Tredicle says: March 2, 2016
I started using API Trello to take care of applications. I've designed an application system unlike any leaked version. It is unique. I used Trello before this article came out, but I can definitely use this article for future reference. Thanks!
starlebVerse says: March 27, 2016
i cannot access to the repository, can u send me a link for it again pls?
airgabe234 says: April 10, 2016
Aw, seems like like the repository is gone. Is YonaJune the original creator?
keegaroo65 says: April 8, 2018
Can someone upload the repository as a Roblox model instead, and DM me the link at keegaroo65#1305 on discord?