diff --git a/openmpt123/openmpt123.cpp b/openmpt123/openmpt123.cpp index 0692fbb6c1..c579bb8ba7 100644 --- a/openmpt123/openmpt123.cpp +++ b/openmpt123/openmpt123.cpp @@ -2359,7 +2359,7 @@ static int main( int argc, char * argv [] ) { } catch ( silent_exit_exception & ) { return 0; } catch ( exception & e ) { - std_err << MPT_USTRING("error: ") << mpt::get_exception_text( e ) << lf; + std_err << "error: " << e.what() << std::endl; std_err.writeout(); return 1; } catch ( std::exception & e ) { @@ -2527,7 +2527,7 @@ static int main( int argc, char * argv [] ) { } catch ( silent_exit_exception & ) { return 0; } catch ( exception & e ) { - std_err << MPT_USTRING("error: ") << mpt::get_exception_text( e ) << lf; + std_err << "error: " << e.what() << std::endl; std_err.writeout(); return 1; } catch ( std::exception & e ) {