Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Better error message
- Loading branch information
Showing
with
1 addition
and
1 deletion.
-
+1
−1
src/core/qgsellipsoidutils.cpp
|
@@ -82,7 +82,7 @@ QgsEllipsoidUtils::EllipsoidParameters QgsEllipsoidUtils::ellipsoidParameters( c |
|
|
int result = database.open_v2( QgsApplication::srsDatabaseFilePath(), SQLITE_OPEN_READONLY, nullptr ); |
|
|
if ( result ) |
|
|
{ |
|
|
QgsMessageLog::logMessage( QObject::tr( "Can't open database: %1" ).arg( database.errorMessage() ) ); |
|
|
QgsMessageLog::logMessage( QObject::tr( "Can not open srs database (%1): %2" ).arg( QgsApplication::srsDatabaseFilePath(), database.errorMessage() ) ); |
|
|
// XXX This will likely never happen since on open, sqlite creates the |
|
|
// database if it does not exist. |
|
|
return params; |
|
|
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.