Recently, Honeybadger released a new feature to upload the source maps to Honeybadger. We have written a grunt plugin to upload the source maps to Honeybadger.
Here is how we can upload source map to Honeybadger.
First, install the grunt plugin.
1npm install --save-dev grunt-honeybadger-sourcemaps
Configure the gruntfile.
1 2We can get the `appId` and `token` from Honeybadger project settings. 3 4 5~~~plaintext 6grunt upload_sourcemaps
Now, we can upload the source maps to Honeybadger and get better error stack trace.
Clone the following repo.
1git clone https://github.com/bigbinary/grunt-honeybadger-sourcemaps
Replace appId and token in Gruntfile.js and run grunt test. It should upload the sample source maps to your project.