Skip to content

Commit

Permalink
fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
ConjunctiveNormalForm committed Apr 15, 2024
1 parent b800dd0 commit 27ae98f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/handlers/hard-quote/handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ export class QuoteHandler extends APIGLambdaHandler<
log.error({ error: e }, 'Error posting order');
metric.putMetric(Metric.QUOTE_400, 1, MetricLoggerUnit.Count);
metric.putMetric(Metric.QUOTE_POST_ERROR, 1, MetricLoggerUnit.Count);
throw new OrderPostError(e.message);
throw new OrderPostError((e as Error).message);
}
}

Expand Down

0 comments on commit 27ae98f

Please sign in to comment.