Skip to content

Propagate error for ListAll #713

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 3 commits into from
Aug 16, 2019
Merged

Propagate error for ListAll #713

merged 3 commits into from
Aug 16, 2019

Conversation

schmidt-sebastian
Copy link
Contributor

Turns out that we didn't propagate backend errors for ListAll, instead the Task would just hang.

Fixes https://b.corp.google.com/issues/139533387

@googlebot googlebot added the cla: yes Override cla label Aug 16, 2019
apply from: '../../gradle/googleServices.gradle'

apply plugin: "com.google.gms.google-services"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I needed to add this line for the Test App to start. I hope it doesn't beak CI.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I changed this to call initializeApp because it does break CI.

@schmidt-sebastian
Copy link
Contributor Author

@fredzqm Let me know if you feel comfortable reviewing this.

Copy link
Contributor

@fredzqm fredzqm left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks fixing it so quickly!

@@ -104,6 +105,7 @@ protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);

FirebaseApp.initializeApp(getApplicationContext());
Copy link
Contributor

@fredzqm fredzqm Aug 16, 2019

Choose a reason for hiding this comment

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

OOC, why this line weren't there before?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This lets us use the test app without the Google Services plugin, which we had to remove as it breaks the CI build.

@schmidt-sebastian schmidt-sebastian merged commit 2654764 into master Aug 16, 2019
@schmidt-sebastian schmidt-sebastian deleted the mrschmidt/listerror branch August 27, 2019 23:45
@firebase firebase locked and limited conversation to collaborators Oct 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants