@go-avro/avro-js 0.0.2-beta.79 → 0.0.2-beta.80
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -96,8 +96,7 @@ export class AvroQueryClient {
|
|
|
96
96
|
},
|
|
97
97
|
onError: (err) => {
|
|
98
98
|
this.config.authManager.clearTokens();
|
|
99
|
-
|
|
100
|
-
throw new StandardError(401, 'Login failed');
|
|
99
|
+
throw new StandardError(401, err.message || 'Login failed');
|
|
101
100
|
}
|
|
102
101
|
});
|
|
103
102
|
}
|
|
@@ -124,8 +123,7 @@ export class AvroQueryClient {
|
|
|
124
123
|
},
|
|
125
124
|
onError: (err) => {
|
|
126
125
|
this.config.authManager.clearTokens();
|
|
127
|
-
|
|
128
|
-
throw new StandardError(401, 'Google login failed');
|
|
126
|
+
throw new StandardError(401, err.message || 'Google Login failed');
|
|
129
127
|
}
|
|
130
128
|
});
|
|
131
129
|
}
|