Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Show the error why the auth DB could not be opened
  • Loading branch information
Gustry authored and nyalldawson committed Mar 16, 2022
1 parent 797a94a commit 865a9e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/auth/qgsauthmanager.cpp
Expand Up @@ -168,9 +168,9 @@ QSqlDatabase QgsAuthManager::authDatabaseConnection() const
{
if ( !authdb.open() )
{
const char *err = QT_TR_NOOP( "Opening of authentication db FAILED" );
QString err = tr( "Opening of authentication db FAILED : %1" ).arg( authdb.lastError().text() );
QgsDebugMsg( err );
emit messageOut( tr( err ), authManTag(), CRITICAL );
emit messageOut( err, authManTag(), CRITICAL );
}
}

Expand Down

0 comments on commit 865a9e9

Please sign in to comment.