refactor: add logging

This commit is contained in:
Derrick Hammer 2023-05-23 20:15:24 -04:00
parent 56d61895f5
commit 96ac75bf3f
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 0 deletions

View File

@ -93,6 +93,7 @@ func (store DbFileStore) GetUpload(ctx context.Context, id string) (handler.Uplo
}
if err := json.Unmarshal([]byte(record.Info), &info); err != nil {
logger.Get().Error("fail to parse upload meta", zap.Error(err))
return nil, err
}