show symbol name in the error message

This commit is contained in:
c9s 2021-12-07 14:34:05 +08:00
parent 533a0259a0
commit ca3f438288

View File

@ -449,7 +449,7 @@ func (session *ExchangeSession) initSymbol(ctx context.Context, environ *Environ
}
if len(kLines) == 0 {
log.Warnf("no kline data for interval %s (end time <= %s)", interval, environ.startTime)
log.Warnf("no kline data for %s %s (end time <= %s)", symbol, interval, environ.startTime)
continue
}