Navigation Menu

Skip to content

Commit

Permalink
More debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Jun 6, 2019
1 parent 515919d commit feaea39
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/auth/basic/qgsauthbasicmethod.cpp
Expand Up @@ -127,7 +127,14 @@ bool QgsAuthBasicMethod::updateDataSourceUriItems( QStringList &connectionItems,
{
caparam = "sslrootcert='" + caFilePath + "'";
}
QFile f( caFilePath );
if ( !f.open( QFile::ReadOnly | QFile::Text ) )
{
qWarning() << "Could not open ca cert file!!";
}
QTextStream in( &f );
qWarning() << caparam;
qWarning() << f.size() << in.readAll();
}

// Branch for OGR
Expand Down Expand Up @@ -283,7 +290,7 @@ bool QgsAuthBasicMethod::updateDataSourceUriItems( QStringList &connectionItems,
else
{
connectionItems.append( caparam );
qWarning() << QStringLiteral( "Connection items after appending" ).arg( connectionItems.join( "&" ) );
qWarning() << QStringLiteral( "Connection items after appending %1" ).arg( connectionItems.join( "&" ) );
}
}
}
Expand Down

0 comments on commit feaea39

Please sign in to comment.