Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show traceback for migration error #2513

Merged
merged 3 commits into from Jul 15, 2020
Merged

Conversation

abulte
Copy link
Contributor

@abulte abulte commented Jul 15, 2020

$ udata db info udata:2020-07-15-dummy
➢ udata:2020-07-15-dummy ............................................... [2020-07-15 15:08]

Migrate ................................................. [2020-07-15 15:01]
  │
  │ yup
  │
  │ Traceback (most recent call last):
  │   File "/Users/alexandre/Developer/Etalab/udata/udata/migrations/__init__.py", line 219, in execute
  │     self.module.migrate(db)
  │   File "<string>", line 8, in migrate
  │ Exception: nope nope nope
  │
  │
  └──[KO]

Migrate ................................................. [2020-07-15 15:08]
  │
  │ yup
  │
  │
  └──[OK]
$ udata db migrate
➢ udata:2020-07-15-dummy ............................................... [Apply]
  │
  │
  │ Traceback (most recent call last):
  │   File "/Users/alexandre/Developer/Etalab/udata/udata/migrations/__init__.py", line 220, in execute
  │     self.module.migrate(db)
  │   File "<string>", line 2, in migrate
  │   Exception: yup yup
  │
  │
  └──[KO]

@abulte abulte requested a review from quaxsze July 15, 2020 13:21
@abulte abulte merged commit 60d9fe3 into opendatateam:master Jul 15, 2020
@abulte abulte deleted the migration-fixes branch July 15, 2020 13:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants