@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
- console.error('Login failed:', err);
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
- console.error('Google login failed:', err);
128
- throw new StandardError(401, 'Google login failed');
126
+ throw new StandardError(401, err.message || 'Google Login failed');
129
127
  }
130
128
  });
131
129
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@go-avro/avro-js",
3
- "version": "0.0.2-beta.79",
3
+ "version": "0.0.2-beta.80",
4
4
  "description": "JS client for Avro backend integration.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",