Skip to content

Commit 93a1732

Browse files
handle error
1 parent 5f10f29 commit 93a1732

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

internal/services/block_listener.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,9 @@ func (bl *BlockListener) CompileRegistryMap(configPath string) {
8585
}
8686

8787
err = yaml.Unmarshal(cb, &conf)
88+
if err != nil {
89+
log.Fatal(err)
90+
}
8891

8992
bl.Registry = make(map[common.Address]map[common.Hash]abi.Event)
9093
bl.ABIs = make(map[common.Address]abi.ABI)

0 commit comments

Comments
 (0)