Skip to content

Commit

Permalink
fix: fix debug in error reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
greendoescode committed May 22, 2024
1 parent ec779c7 commit e6b2035
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rpc/format.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ async function fetchSafely(fetcherName, metadata)
}
catch (err)
{
if(debug == 'true'){
if(config.debug == 'true'){
console.log(err);
} else {
console.log("Attempting to switch provider, Error Occured.");
Expand Down

0 comments on commit e6b2035

Please sign in to comment.