Fix some log messages

This commit is contained in:
Abs62 2017-07-02 16:40:42 +03:00
parent 434a88c503
commit 02941bacfb

View file

@ -107,7 +107,7 @@ void Class::open( char const * filename, char const * mode ) throw( exCantOpen )
f.setFileName( FsEncoding::decode( filename ) );
if ( !f.open( openMode ) )
throw exCantOpen( std::string( filename ) + ": " + strerror( errno ) );
throw exCantOpen( std::string( filename ) + ": " + f.errorString().toUtf8().data() );
}
Class::Class( char const * filename, char const * mode ) throw( exCantOpen ):