forked from cerc-io/ipld-eth-server
Increase logging in contract watcher
- Focus on header mode - Add context to errors, trace guard clauses, warn on non-returned errors - Give errors distinct names so compiler will recognize if unchecked - Remove redundant type declarations/fix typos
This commit is contained in:
@@ -47,7 +47,7 @@ func newFetcherError(err error, fetchMethod string) *fetcherError {
|
||||
|
||||
// Fetcher struct
|
||||
type Fetcher struct {
|
||||
BlockChain core.BlockChain // Underyling Blockchain
|
||||
BlockChain core.BlockChain // Underlying Blockchain
|
||||
}
|
||||
|
||||
// Fetcher error
|
||||
|
||||
Reference in New Issue
Block a user