Skip to content

Commit 5604b86

Browse files
committed
handling 'setLogLevel' error of 'ConfigInit' if both 'debug' flag and 'loglevel' are set
Signed-off-by: bkiran6398 <bkiran6398@gmail.com>
1 parent c4d0a64 commit 5604b86

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cmd/fabric-ca-client/command/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ func (c *ClientCmd) ConfigInit() error {
226226
if logLevel != "" {
227227
c.logLevel = logLevel
228228
}
229-
calog.SetLogLevel(c.logLevel, debug)
229+
err = calog.SetLogLevel(c.logLevel, debug)
230230
if err != nil {
231231
return err
232232
}

0 commit comments

Comments
 (0)