From e30a3d2649fcbb08f14136afafe03738043304f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn=20Heusipp?= Date: Mon, 23 Sep 2024 21:10:16 +0000 Subject: [PATCH] [Fix] openmpt123: Fixup backport of r21721. git-svn-id: https://source.openmpt.org/svn/openmpt/branches/OpenMPT-1.30@21727 56274372-70c3-4bfc-bfc3-4c3a0b034d27 --- openmpt123/openmpt123.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openmpt123/openmpt123.cpp b/openmpt123/openmpt123.cpp index 0692fbb6c16..c579bb8ba7e 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 ) {