File tree Expand file tree Collapse file tree 1 file changed +9
-8
lines changed
firebase-appdistribution/src/main/java/com/google/firebase/appdistribution/impl Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -132,14 +132,15 @@ static <T> UpdateTask onSuccessUpdateTask(
132
132
Task <T > task , Executor executor , UpdateTaskContinuation <T > continuation ) {
133
133
UpdateTaskImpl updateTask = new UpdateTaskImpl ();
134
134
task .addOnSuccessListener (
135
- executor ,
136
- result -> {
137
- try {
138
- updateTask .shadow (continuation .then (result ));
139
- } catch (Throwable t ) {
140
- updateTask .setException (FirebaseAppDistributionExceptions .wrap (t ));
141
- }
142
- });
135
+ executor ,
136
+ result -> {
137
+ try {
138
+ updateTask .shadow (continuation .then (result ));
139
+ } catch (Throwable t ) {
140
+ updateTask .setException (FirebaseAppDistributionExceptions .wrap (t ));
141
+ }
142
+ })
143
+ .addOnFailureListener (executor , updateTask ::setException );
143
144
return updateTask ;
144
145
}
145
146
You can’t perform that action at this time.
0 commit comments