refactor: add logging
This commit is contained in:
parent
56d61895f5
commit
96ac75bf3f
|
@ -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 {
|
if err := json.Unmarshal([]byte(record.Info), &info); err != nil {
|
||||||
|
logger.Get().Error("fail to parse upload meta", zap.Error(err))
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue