Skip to content

Commit

Permalink
Normalize error messages in Lesson 17 (CryptozombiesHQ#585)
Browse files Browse the repository at this point in the history
  • Loading branch information
gas1cent authored Dec 28, 2021
1 parent b0a82c5 commit 7544064
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions en/17/03.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ material:
// eslint-disable-next-line new-cap
ethersProvider = new ethers.getDefaultProvider(networkName)
} catch (error) {
console.log('Could not connect to Ethereum')
console.log('Could not connect to Rinkeby')
console.log(error)
}
return ethersProvider
Expand All @@ -50,7 +50,7 @@ material:
// eslint-disable-next-line new-cap
ethersProvider = new ethers.getDefaultProvider(networkName)
} catch (error) {
console.log('Could not connect to Ethereum')
console.log('Could not connect to Rinkeby')
console.log(error)
}
return ethersProvider
Expand Down
2 changes: 1 addition & 1 deletion en/17/04.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ material:
// eslint-disable-next-line new-cap
ethersProvider = new ethers.getDefaultProvider(networkName)
} catch (error) {
console.log('Could not connect to Ethereum')
console.log('Could not connect to Rinkeby')
console.log(error)
}
return ethersProvider
Expand Down
4 changes: 2 additions & 2 deletions en/17/05.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ material:
// eslint-disable-next-line new-cap
ethersProvider = new ethers.getDefaultProvider(networkName)
} catch (error) {
console.log('Could not connect to Ethereum')
console.log('Could not connect to Rinkeby')
console.log(error)
}
return ethersProvider
Expand Down Expand Up @@ -66,7 +66,7 @@ material:
// eslint-disable-next-line new-cap
ethersProvider = new ethers.getDefaultProvider(networkName)
} catch (error) {
console.log('Could not connect to Ethereum')
console.log('Could not connect to Rinkeby')
console.log(error)
}
return ethersProvider
Expand Down
4 changes: 2 additions & 2 deletions fa/17/03.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ material:
// eslint-disable-next-line new-cap
ethersProvider = new ethers.getDefaultProvider(networkName)
} catch (error) {
console.log('Could not connect to Ethereum')
console.log('Could not connect to Rinkeby')
console.log(error)
}
return ethersProvider
Expand All @@ -50,7 +50,7 @@ material:
// eslint-disable-next-line new-cap
ethersProvider = new ethers.getDefaultProvider(networkName)
} catch (error) {
console.log('Could not connect to Ethereum')
console.log('Could not connect to Rinkeby')
console.log(error)
}
return ethersProvider
Expand Down
2 changes: 1 addition & 1 deletion fa/17/04.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ material:
// eslint-disable-next-line new-cap
ethersProvider = new ethers.getDefaultProvider(networkName)
} catch (error) {
console.log('Could not connect to Ethereum')
console.log('Could not connect to Rinkeby')
console.log(error)
}
return ethersProvider
Expand Down
4 changes: 2 additions & 2 deletions fa/17/05.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ material:
// eslint-disable-next-line new-cap
ethersProvider = new ethers.getDefaultProvider(networkName)
} catch (error) {
console.log('Could not connect to Ethereum')
console.log('Could not connect to Rinkeby')
console.log(error)
}
return ethersProvider
Expand Down Expand Up @@ -66,7 +66,7 @@ material:
// eslint-disable-next-line new-cap
ethersProvider = new ethers.getDefaultProvider(networkName)
} catch (error) {
console.log('Could not connect to Ethereum')
console.log('Could not connect to Rinkeby')
console.log(error)
}
return ethersProvider
Expand Down

0 comments on commit 7544064

Please sign in to comment.