Skip to content

Commit

Permalink
Merge pull request #175 from dappradar/minor-fixes
Browse files Browse the repository at this point in the history
minor fixes
  • Loading branch information
mantasfam committed Jul 21, 2023
2 parents b1da239 + cb18c6b commit b3c19f8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/factory/providers/polygon/balancer/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { log } from '../../../../util/logger/logger';

const START_BLOCK = 15832998;
const THEGRAPTH_ENDPOINT =
'https://api.thegraph.com/subgraphs/name/balancer-labs/balancer-polygon-v2-beta';
'https://api.thegraph.com/subgraphs/name/balancer-labs/balancer-polygon-v2';
const POOL_COUNT_QUERY = gql`
query getPoolCount($block: Int!) {
balancer(id: 2, block: { number: $block }) {
Expand Down
2 changes: 2 additions & 0 deletions src/generic.interceptor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import {
ExecutionContext,
Injectable,
NestInterceptor,
HttpException,
} from '@nestjs/common';
import { Observable, tap } from 'rxjs';
import { log } from './util/logger/logger';
Expand Down Expand Up @@ -34,6 +35,7 @@ export class GenericInterceptor implements NestInterceptor {
detail: err?.name,
endpoint: endpoint.name,
});
throw new HttpException(err.message, 500);
},
}),
);
Expand Down

0 comments on commit b3c19f8

Please sign in to comment.