Skip to content

Commit

Permalink
Fixing onerror to track exceptions if error is valid object
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxShehovtsov committed Jun 8, 2015
1 parent 7bbf8b7 commit 8f05cef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions JavaScript/JavaScriptSDK/appInsights.ts
Original file line number Diff line number Diff line change
Expand Up @@ -349,9 +349,9 @@ module Microsoft.ApplicationInsights {
error["stack"] = "@" + url + ":" + lineNumber + ":" + (columnNumber || 0);
}
}

this.trackException(error);
}

this.trackException(error);
}
} catch (exception) {
var errorString =
Expand Down

0 comments on commit 8f05cef

Please sign in to comment.