Skip to content

Commit

Permalink
Merge pull request #28 from MindscapeHQ/fix-options
Browse files Browse the repository at this point in the history
processUnhandledException - no options provided fix
  • Loading branch information
martin308 committed Feb 6, 2014
2 parents 97f1931 + 4e8cfd8 commit 0455641
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 4 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ This will allow you to filter the errors in the dashboard by that version. You c
## Release History
- 1.6.1 - Fixed an issue with not supplying options to processUnhandledException
- 1.6.0 - Added support for attaching Tags, added NuGet package
- 1.5.2 - Added Bower package; minor bugfix for Ajax functionality
- 1.5.1 - Capture data submitted by jQuery AJAX calls
Expand Down
4 changes: 3 additions & 1 deletion dist/raygun.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Raygun4js - v1.6.0 - 2014-01-21
/*! Raygun4js - v1.6.1 - 2014-02-07
* https://github.com/MindscapeHQ/raygun4js
* Copyright (c) 2014 MindscapeHQ; Licensed MIT */
(function(window, undefined) {
Expand Down Expand Up @@ -1334,6 +1334,8 @@ window.TraceKit = TraceKit;
var stack = [],
qs = {};

options = options || {};

if (stackTrace.stack && stackTrace.stack.length) {
forEach(stackTrace.stack, function (i, frame) {
stack.push({
Expand Down
4 changes: 2 additions & 2 deletions dist/raygun.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "raygun",
"title": "Raygun4js",
"description": "Raygun.io plugin for JavaScript",
"version": "1.6.0",
"version": "1.6.1",
"homepage": "https://github.com/MindscapeHQ/raygun4js",
"author": {
"name": "MindscapeHQ",
Expand Down
2 changes: 2 additions & 0 deletions src/raygun.js
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,8 @@
var stack = [],
qs = {};

options = options || {};

if (stackTrace.stack && stackTrace.stack.length) {
forEach(stackTrace.stack, function (i, frame) {
stack.push({
Expand Down

0 comments on commit 0455641

Please sign in to comment.