Skip to content
Permalink
Browse files
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 865a9e9be019387c8a4b7f9a858ed1ed001fffa0
Showing 1 changed file with 2 additions and 2 deletions.
@@ -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 );
}
}

0 comments on commit 865a9e9

Please sign in to comment.