feat: add log
This commit is contained in:
@@ -52,6 +52,7 @@ func channelExportCmd(ctx context.Context) error {
|
||||
logger.Error("get channel by username failed", zap.String("username", cfg.Username), zap.String("title", cfg.Title))
|
||||
return err
|
||||
}
|
||||
logger.Info("channel info", zap.Int64("id", channel.ID), zap.String("title", channel.Title))
|
||||
} else {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user