Major Client Update For Elixir

This month we released a new version of our hex package, which includes a major refactor of the internal client logic as well as some new features, improvements, and bug fixes.

This month we released a new version of our hex package, which includes a major refactor of the internal client logic as well as some new features, improvements, and bug fixes.

We're super excited to share the release of honeybadger v0.7 with you! Here are the highlights:

Better Async Handling

The Honeybadger client now uses a separate process (via GenServer) to report errors in the background, instead of spawning new tasks. A supervision tree is started with the client as a child.

We think this is a much better way to do asynchronous work like ours, and it should result in improved performance in applications which report a lot of errors. Check out the Pull Request.

Improved Phoenix Support

Errors reported from Plug now automatically include the controller and action name from Phoenix.

This was previously possible by including our Plug directly in each controller, but not if you added it to the Phoenix router, which is a much nicer way to get error reporting in all Phoenix controllers:

defmodule MyPhoenixApp.Router do
  use Crywolf.Web, :router
  use Honeybadger.Plug

  pipeline :browser do

The controller name is also used to help group similar errors in the Honeybadger UI, so this update should make error grouping more logical in some applications. Check out the Pull Request.

New Ways to Notify

The client now supports sending more arbitrary errors to Honeybadger. For instance, you can call Honeybadger.notify/1 with a string or a map:

# With just an error message:

# With a map:
  class: "CustomError",
  message: "oops!"

Check out the Pull Request.

Smarter Stack Traces

When calling Honeybadger.notify with custom arguments, the accuracy of the generated stack trace has been improved. Check out the Pull Request.

Test Your Configuration

We've added a new mix task which can be invoked with mix honeybadger.test. When invoked, the task will report a test exception to your Honeybadger project, verifying that your application is configured correctly. Check out the Pull Request.

Bug Fixes, Etc.

Last but not least, we fixed a bunch of bugs and made even more improvements, making v0.7 the most stable release yet.

Check out the CHANGELOG for a full list of fixes included in this release.

A Special Thanks

I would like to specially thank Parker Selbert (@sorentwo), who was a major contributor to the v0.7 release. Thanks Parker, this release wouldn't have been possible without you!

What to do next:
  1. Try Honeybadger for FREE
    Honeybadger helps you find and fix errors before your users can even report them. Get set up in minutes and check monitoring off your to-do list.
    Start free trial
    Easy 5-minute setup — No credit card required
  2. Get the Honeybadger newsletter
    Each month we share news, best practices, and stories from the DevOps & monitoring community—exclusively for developers like you.
    author photo

    Joshua Wood

    Josh started hacking on IRC scripts in the late nineties and has been hacking on computers (and businesses) ever since. As a co-founder of Honeybadger he works on the product, leads marketing and developer relations, and is involved in many open-source projects.

    More articles by Joshua Wood
    Stop wasting time manually checking logs for errors!

    Try the only application health monitoring tool that allows you to track application errors, uptime, and cron jobs in one simple platform.

    • Know when critical errors occur, and which customers are affected.
    • Respond instantly when your systems go down.
    • Improve the health of your systems over time.
    • Fix problems before your customers can report them!

    As developers ourselves, we hated wasting time tracking down errors—so we built the system we always wanted.

    Honeybadger tracks everything you need and nothing you don't, creating one simple solution to keep your application running and error free so you can do what you do best—release new code. Try it free and see for yourself.

    Start free trial
    Simple 5-minute setup — No credit card required

    Learn more

    "We've looked at a lot of error management systems. Honeybadger is head and shoulders above the rest and somehow gets better with every new release."
    — Michael Smith, Cofounder & CTO of YvesBlue

    Honeybadger is trusted by top companies like: