Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
noot committed Jun 16, 2021
1 parent d71ae70 commit 0f52ff1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dot/core/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,10 @@ func NewService(cfg *Config) (*Service, error) {
return nil, ErrNilDigestHandler
}

if cfg.CodeSubstitutedState == nil {
return nil, errNilCodeSubstitutedState
}

h := log.StreamHandler(os.Stdout, log.TerminalFormat())
h = log.CallerFileHandler(h)
logger.SetHandler(log.LvlFilterHandler(cfg.LogLvl, h))
Expand Down

0 comments on commit 0f52ff1

Please sign in to comment.