-
Notifications
You must be signed in to change notification settings - Fork 14.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Better error message when sqlite URL uses relative path (#36774)
When sqlite URL uses relative path, the error printed is quite cryptic: ``` sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) unable to open database file ``` This might easily happen for example when you are in a hurry and put relative value in your AIRFLOW_HOME. This PR checks if sql is relative and throws more appropriate and explicit message what is wrong.
- Loading branch information
Showing
2 changed files
with
20 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters