mirror of
https://github.com/mautrix/telegram.git
synced 2026-05-17 07:25:46 +03:00
media: adjust log level of transfer log
This commit is contained in:
@@ -257,7 +257,7 @@ func (t *ReadyTransferer) Transfer(ctx context.Context, store *store.Container,
|
||||
Str("location_id", string(locationID)).
|
||||
Logger()
|
||||
ctx = log.WithContext(ctx)
|
||||
log.Info().Msg("Transferring file from Telegram to Matrix")
|
||||
log.Debug().Msg("Transferring file from Telegram to Matrix")
|
||||
|
||||
if file, err := store.TelegramFile.GetByLocationID(ctx, locationID); err != nil {
|
||||
return "", nil, nil, fmt.Errorf("failed to search for Telegram file by location ID: %w", err)
|
||||
|
||||
Reference in New Issue
Block a user