Skip to content

Commit

Permalink
Added essential log (#126)
Browse files Browse the repository at this point in the history
  • Loading branch information
vignesha22 authored Aug 22, 2024
1 parent 2fa62f5 commit 6285eef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions backend/src/routes/paymaster-routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ const paymasterRoutes: FastifyPluginAsync = async (server) => {
) return reply.code(ReturnCode.FAILURE).send({ error: ErrorMessage.UNSUPPORTED_NETWORK_TOKEN })

const networkConfig = getNetworkConfig(chainId, supportedNetworks ?? '', entryPoint);
server.log.warn(networkConfig, `Network Config fetched for ${api_key}: `);
if (!networkConfig) return reply.code(ReturnCode.FAILURE).send({ error: ErrorMessage.UNSUPPORTED_NETWORK });

let result: any;
Expand Down

0 comments on commit 6285eef

Please sign in to comment.