Skip to content
This repository was archived by the owner on Sep 4, 2024. It is now read-only.
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/handlers/base/api-handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ export abstract class APIGLambdaHandler<
requestId: context.awsRequestId,
});

log.info({ event, context }, 'Request started.');
log.info({ eventBody: event.body, eventHeaders: event.headers, context }, 'Request started.');

let requestBody: ReqBody;
let requestQueryParams: ReqQueryParams;
Expand Down
1 change: 0 additions & 1 deletion lib/handlers/quote/handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,6 @@ export class QuoteHandler extends APIGLambdaHandler<
const responseBody = JSON.parse(response.body!);
const rawBody = JSON.parse(event.body!);

log.info({ rawBody }, 'rawBody');
if (statusCode != 200 && responseBody.errorCode == ErrorCode.ValidationError) {
metrics.putMetric(`QuoteRequestValidationError`, 1);
return;
Expand Down
2 changes: 0 additions & 2 deletions lib/util/metrics-pair.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ export class MetricPair {

private parse(value: string, currency: Currency): CurrencyAmount<Currency> {
const typedValueParsed = parseUnits(value, currency.decimals).toString();
log.info(`parsed value: ${typedValueParsed}`);
return CurrencyAmount.fromRawAmount(currency, typedValueParsed);
}
}
Expand Down Expand Up @@ -243,7 +242,6 @@ export const emitUniswapXPairMetricIfTracking = async (
bestQuoteType
);
if (emitted) {
log.info(`custom pair tracking metric emitted for ${emitted}`);
return;
}
}
Expand Down