Return errors in Trello migration process
All checks were successful
continuous-integration/drone/pr Build is passing
All checks were successful
continuous-integration/drone/pr Build is passing
This commit is contained in:
parent
2cbd20a084
commit
3c87b5cea7
|
@ -395,7 +395,7 @@ func (m *Migration) Migrate(u *user.User) (err error) {
|
|||
|
||||
trelloData, err := getTrelloData(m.Token)
|
||||
if err != nil {
|
||||
return
|
||||
return err
|
||||
}
|
||||
|
||||
log.Debugf("[Trello Migration] Got all trello data for user %d", u.ID)
|
||||
|
@ -403,7 +403,7 @@ func (m *Migration) Migrate(u *user.User) (err error) {
|
|||
|
||||
fullVikunjaHierachie, err := convertTrelloDataToVikunja(trelloData, m.Token)
|
||||
if err != nil {
|
||||
return
|
||||
return err
|
||||
}
|
||||
|
||||
log.Debugf("[Trello Migration] Done migrating trello data for user %d", u.ID)
|
||||
|
@ -411,7 +411,7 @@ func (m *Migration) Migrate(u *user.User) (err error) {
|
|||
|
||||
err = migration.InsertFromStructure(fullVikunjaHierachie, u)
|
||||
if err != nil {
|
||||
return
|
||||
return err
|
||||
}
|
||||
|
||||
log.Debugf("[Trello Migration] Done inserting trello data for user %d", u.ID)
|
||||
|
|
Loading…
Reference in New Issue
Block a user