-
-
Notifications
You must be signed in to change notification settings - Fork 228
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
Need an option to see the Alembic stack strace #434
Comments
The Compare the |
Hello, I'm having the same problem. The |
@emilija-omnisend Are you sure you have the latest alembic.ini in your repository? Because this is a well known issue that was fixed a while ago. Make sure you have
And then that this logger is configured with the appropriate level:
I actually just tested this on an old project of mine. The error message did not display, but as soon as I updated alembic.ini I started seeing it. |
Hello,
We're having an issue generating migrations through
flask db migrate
, with a fairly sparse error message :Dflask db migrate -m "Fix Filename join issue" INFO [alembic.runtime.migration] Context impl PostgresqlImpl. INFO [alembic.runtime.migration] Will assume transactional DDL.
This returns with an exit code 1.
The stack trace is hidden by the
catch_errors()
function defined and used in__init.py__
. When I remove the wrapper, I get the much more useful:Could you please add an option to disable the wrapping?
Thanks,
Clément
The text was updated successfully, but these errors were encountered: