Skip to content
Permalink
Browse files

Better error message

  • Loading branch information
m-kuhn authored and nyalldawson committed Aug 30, 2018
1 parent a092823 commit 948a312acb32753d8b974ede7f202d0c5510d182
Showing with 1 addition and 1 deletion.
  1. +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;

0 comments on commit 948a312

Please sign in to comment.
You can’t perform that action at this time.