Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes LP Bug#844618 - SQLAlchemy errors not logged
Logs any import errors or SQLAlchemy connection failures to the glance registry log so that there is some indication that a driver module is not installed or there is a problem with the sql_connection configuration string. Adds test case that verifies log output and error raised. (cherry picked from commit 56e15f6) Change-Id: Ib86c353350530d6de62e577df57602d1762879f9
- Loading branch information
Showing
2 changed files
with
61 additions
and
8 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