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

Add logging and lift dev restriction on telemtry #178

Merged
merged 4 commits into from
Feb 3, 2016
Merged

Conversation

lostintangent
Copy link
Member

This PR does two things:

  1. Adds more diagnostic logging to help identify when an update isn't available due to targeting a newer binary version or having previously failed.
  2. Removes the dev restriction on telemetry

@@ -26,7 +26,7 @@ module.exports = (NativeCodePush) => {
try {
const downloadedPackage = await NativeCodePush.downloadUpdate(this);
// Don't report metrics if in DEV mode.
Copy link
Member

Choose a reason for hiding this comment

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

Remove the comment too.

Copy link
Contributor

Choose a reason for hiding this comment

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

I guess this comment can be removed?

@geof90
Copy link
Contributor

geof90 commented Feb 3, 2016

LGTM!

@dtivel
Copy link
Member

dtivel commented Feb 3, 2016

Looks good.

lostintangent added a commit that referenced this pull request Feb 3, 2016
Add logging and lift dev restriction on telemtry
@lostintangent lostintangent merged commit 9d4341a into master Feb 3, 2016
@lostintangent lostintangent deleted the logs branch February 3, 2016 20:05
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.

None yet

4 participants