Skip to content

Commit

Permalink
Merge pull request #4896 from balancer/release/1.137.0
Browse files Browse the repository at this point in the history
Release 1.137.0
  • Loading branch information
agualis authored Dec 11, 2023
2 parents c311e5e + c171a6b commit a8df5cd
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@balancer/frontend-v2",
"version": "1.136.66",
"version": "1.137.0",
"engines": {
"node": "=16",
"npm": ">=8"
Expand Down
11 changes: 8 additions & 3 deletions src/services/balancer/subgraph/entities/poolShares/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,13 @@ export default class PoolShares {

public async get(args = {}, attrs = {}): Promise<PoolShare[]> {
const queryName = 'PoolShares';
const query = this.query(args, attrs, queryName);
const data = await this.service.client.get(query);
return data.poolShares;
try {
const query = this.query(args, attrs, queryName);
const data = await this.service.client.get(query);
return data.poolShares;
} catch (error: unknown) {
console.error('Unexpected error in PoolShares query: ', error);
return [];
}
}
}

1 comment on commit a8df5cd

@vercel
Copy link

@vercel vercel bot commented on a8df5cd Dec 11, 2023

Choose a reason for hiding this comment

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

Please sign in to comment.