Skip to content

Commit

Permalink
fix: server logs
Browse files Browse the repository at this point in the history
  • Loading branch information
icfor committed Feb 9, 2024
1 parent 2d3801b commit 69957c7
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 9 deletions.
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
8 changes: 3 additions & 5 deletions networks.json
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,6 @@
},
{
"name": "Mars",
"endpoint": "https://gql.mainnet.desmos.network/v1/graphql",
"links": [
{
"name": "Mainnet-Explorer",
Expand Down Expand Up @@ -385,11 +384,10 @@
},
{
"name": "Celestia",
"endpoint": "https://gql-testnet.celestia.forbole.com/v1/graphql",
"links": [
{
"name": "Testnet",
"chain_id": "blockspacerace-0",
"name": "Testnet",
"url": "https://testnet.bigdipper.live/celestia"
}
]
Expand Down Expand Up @@ -429,7 +427,6 @@
},
{
"name": "Lava",
"endpoint": "",
"links": [
{
"name": "Testnet",
Expand Down Expand Up @@ -471,4 +468,5 @@
}
]
}
]
]

2 changes: 1 addition & 1 deletion src/utils/loadNetworkSummaries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default async function loadNetworkSummaries() {
? error.message
: String(error);

console.error("errorMessage", errorMessage);
console.error("errorMessage", network.name, errorMessage);

return { data: null, networkName: network.name };
}),
Expand Down
5 changes: 2 additions & 3 deletions src/utils/loadNetworkSummary.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,8 @@ export interface NetworkSummary {
const handlers: {
[key: string]: (network: Network) => Promise<NetworkSummary | undefined>;
} = {
"Crypto.org Chain": handleCryptoorg,
"MultiversX": handleMultiversX,
"Solana": handleSolana,
MultiversX: handleMultiversX,
Solana: handleSolana,
};

/**
Expand Down

0 comments on commit 69957c7

Please sign in to comment.