Skip to content

Commit

Permalink
Logging errors
Browse files Browse the repository at this point in the history
  • Loading branch information
mvpoyatt authored and mvpoyatt committed Oct 3, 2024
1 parent 8d07be5 commit bff3aab
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/api/channels/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ export async function getUniversalChannels(): Promise<IdentifiedChannel[]> {
}
universalChannels.push(universalChannel[0]);
}
catch (err) {
logger.error(`Error fetching universal channel for ${chain} ${client}`);
catch (error) {
logger.error(`Error fetching universal channel for ${chain} ${client}: ${error}`);
}
}
}
Expand Down Expand Up @@ -154,7 +154,7 @@ async function fetchRegistry() {
data = await res.json();
}
catch (error) {
logger.error('Error fetching polymer-registry');
logger.error('Error fetching polymer-registry: ' + error);
return {};
}

Expand Down

0 comments on commit bff3aab

Please sign in to comment.