Skip to content

Check for user ID file before trying to read it #1635

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

Merged
merged 1 commit into from
Jun 10, 2020

Conversation

mrwillis21
Copy link
Contributor

The user ID file will be missing if no user ID was set, so check
if it exists before trying to read from it to avoid unnecessary
error logging.

Fixes one of the prevalent issues in
#1559

The user ID file will be missing if no user ID was set, so check
if it exists before trying to read from it to avoid unnecessary
error logging.

Fixes one of the prevalent issues in
#1559
@mrwillis21 mrwillis21 requested a review from mrichards June 9, 2020 21:42
@googlebot googlebot added the cla: yes Override cla label Jun 9, 2020
@google-oss-bot
Copy link
Contributor

Coverage Report

Affected SDKs

No changes between base commit (dac28c4) and head commit (861362e7).

Test Logs

Notes

HTML coverage reports can be produced locally with ./gradlew <product>:checkCoverage.
Report files are located at <product-build-dir>/reports/jacoco/.

Head commit (861362e7) is created by Prow via merging commits: dac28c4 88f1dd1.

@google-oss-bot
Copy link
Contributor

Binary Size Report

Affected SDKs

  • firebase-common

    Type Base (dac28c4) Head (861362e7) Diff
    apk (aggressive) 82.5 kB 82.5 kB -6 B (-0.0%)
    apk (debug) 770 kB 770 kB -5 B (-0.0%)
  • firebase-components

    Type Base (dac28c4) Head (861362e7) Diff
    apk (aggressive) 11.0 kB 11.0 kB -7 B (-0.1%)
    apk (debug) 35.9 kB 35.8 kB -24 B (-0.1%)
  • firebase-crashlytics

    Type Base (dac28c4) Head (861362e7) Diff
    aar 413 kB 413 kB +42 B (+0.0%)
    apk (aggressive) 601 kB 601 kB +9 B (+0.0%)
    apk (debug) 1.60 MB 1.60 MB -2 B (-0.0%)
    apk (release) 1.36 MB 1.36 MB -4 B (-0.0%)
  • firebase-encoders-json

    Type Base (dac28c4) Head (861362e7) Diff
    apk (aggressive) 11.0 kB 11.0 kB -7 B (-0.1%)
    apk (debug) 28.9 kB 28.9 kB -3 B (-0.0%)
  • transport-api

    Type Base (dac28c4) Head (861362e7) Diff
    apk (aggressive) 11.0 kB 11.0 kB -7 B (-0.1%)
    apk (debug) 23.0 kB 23.0 kB -1 B (-0.0%)
  • transport-backend-cct

    Type Base (dac28c4) Head (861362e7) Diff
    apk (aggressive) 48.5 kB 48.5 kB -6 B (-0.0%)
    apk (debug) 103 kB 103 kB -26 B (-0.0%)
  • transport-runtime

    Type Base (dac28c4) Head (861362e7) Diff
    apk (debug) 80.6 kB 80.6 kB -19 B (-0.0%)

Test Logs

Notes

Head commit (861362e7) is created by Prow via merging commits: dac28c4 88f1dd1.

@mrwillis21
Copy link
Contributor Author

/test smoke-tests

Copy link
Contributor

@mrichards mrichards left a comment

Choose a reason for hiding this comment

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

Ahhh, sweet. The logged error here was annoying.

@mrwillis21 mrwillis21 merged commit 0e93870 into master Jun 10, 2020
@mrwillis21 mrwillis21 deleted the fix-user-file-logging branch June 10, 2020 00:03
@firebase firebase locked and limited conversation to collaborators Jul 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla: yes Override cla size/S
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants