Skip to content

Commit

Permalink
add log
Browse files Browse the repository at this point in the history
  • Loading branch information
mayswind committed Feb 15, 2025
1 parent 7cae873 commit 80bcebb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions pkg/converters/gnucash/gnucash_transaction_table.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ func (t *gnucashTransactionDataRowIterator) Next(ctx core.Context, user *models.
rowItems, isValid, err := t.parseTransaction(ctx, user, data)

if err != nil {
log.Errorf(ctx, "[gnucash_transaction_table.Next] cannot parsing transaction in row#%d, because %s", t.currentIndex, err.Error())
return nil, err
}

Expand Down
1 change: 1 addition & 0 deletions pkg/converters/ofx/ofx_transaction_table.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ func (t *ofxTransactionDataRowIterator) Next(ctx core.Context, user *models.User
rowItems, err := t.parseTransaction(ctx, user, data)

if err != nil {
log.Errorf(ctx, "[ofx_transaction_table.Next] cannot parsing transaction in row#%d, because %s", t.currentIndex, err.Error())
return nil, err
}

Expand Down
1 change: 1 addition & 0 deletions pkg/converters/qif/qif_transaction_data_table.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ func (t *qifTransactionDataRowIterator) Next(ctx core.Context, user *models.User
rowItems, err := t.parseTransaction(ctx, user, data)

if err != nil {
log.Errorf(ctx, "[qif_transaction_data_table.Next] cannot parsing transaction in row#%d, because %s", t.currentIndex, err.Error())
return nil, err
}

Expand Down

0 comments on commit 80bcebb

Please sign in to comment.