parent
96cdd552e7
commit
4e35e7d749
@ -1,12 +1,10 @@ |
||||
package hostv2 |
||||
|
||||
import ( |
||||
"github.com/ethereum/go-ethereum/log" |
||||
) |
||||
import "github.com/harmony-one/harmony/internal/utils" |
||||
|
||||
func catchError(err error) { |
||||
if err != nil { |
||||
log.Error("catchError", "err", err) |
||||
utils.GetLogger().Error("catchError", "err", err) |
||||
panic(err) |
||||
} |
||||
} |
||||
|
Loading…
Reference in new issue