- Read Tutorial
- Watch Guide Video
We are almost done with our coding part, and now we're going to install an add-on called "HoneyBadger." This is obviously an optional topic because HoneyBadger is a paid service, while the earlier ones we talked about are all free. I don't think they have a free service, as their base price is $28 a month.
But still, I think it's important to know about this option, in case you decide to use it sometime in the future.
Essentially, HoneyBadger gives the error messages for every application you run. In fact, it drills down the error to the exact spot, so fixing becomes real easy. In general, when an application is in production, and say, something goes wrong with it. All that you can see is a page that says something like "I'm sorry, there is an error here." It's not going to give you any other detail obviously because a detailed message is more a security threat, and also a bad user experience. The downside is, as a developer, you're not going to know the error as the person using it is not going to have any idea about the error.
To know more details about such errors, HoneyBadger is the right tool. It constantly monitors your app, and every time there's an error, it sends you a message with the complete details. That could be quite valuable.
Before we go on, let me tell you I'm not paid to say anything about HoneyBadger. I'm saying it simply because I use it.
Here are some screenshots for past applications that I manage.
If you see, such detailed messages make error debugging a lot easier. It even shows you the specific file and line number of the error.
Now, to add a project to HoneyBadger, click on the "Add a New Project" link from "Projects" dropdown menu. Give the name of your application, language you've used for development and the number of days you want HoneyBadger to keep the error in their database.
When you click on the "Create Project" button, it takes you to the next page where there's information about how you can install HoneyBadger in your application.
Just follow these instructions, and you'll be done with the setup.