Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable RollbarProxy for sending Rollbar events #721

Merged
merged 1 commit into from
Apr 22, 2019
Merged

Conversation

waltjones
Copy link
Contributor

Cordova support is driving the need for this, but it can be used by anyone who makes a RollbarProxy object available.

@@ -71,7 +71,23 @@ function _makeZoneRequest(accessToken, url, method, data, callback, requestFacto
}
}

/* global RollbarProxy */
function _proxyRequest(json, callback) {
var rollbarProxy = new RollbarProxy();

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I understand that the idea behind RollbarProxy is to come from other JS sources, just like in the Cordova SDK. Is that correct?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right. RollbarProxy is defined externally.

@ArturMoczulski
Copy link

LGTM :)

@waltjones waltjones changed the title WIP: Enable RollbarProxy for sending Rollbar events Enable RollbarProxy for sending Rollbar events Apr 22, 2019
@waltjones waltjones merged commit 21553e9 into master Apr 22, 2019
mudetroit pushed a commit that referenced this pull request Mar 14, 2024
Enable RollbarProxy for sending Rollbar events
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants