From: <sv...@op...> - 2024-09-23 21:11:07
|
Author: manx Date: Mon Sep 23 23:10:55 2024 New Revision: 21728 URL: https://source.openmpt.org/browse/openmpt/?op=revision&rev=21728 Log: Merged revision(s) 21727 from branches/OpenMPT-1.30: [Fix] openmpt123: Fixup backport of r21721. ........ Modified: branches/OpenMPT-1.29/ (props changed) branches/OpenMPT-1.29/openmpt123/openmpt123.cpp Modified: branches/OpenMPT-1.29/openmpt123/openmpt123.cpp ============================================================================== --- branches/OpenMPT-1.29/openmpt123/openmpt123.cpp Mon Sep 23 23:10:16 2024 (r21727) +++ branches/OpenMPT-1.29/openmpt123/openmpt123.cpp Mon Sep 23 23:10:55 2024 (r21728) @@ -2349,7 +2349,7 @@ } catch ( silent_exit_exception & ) { return 0; } catch ( exception & e ) { - std_err << MPT_USTRING("error: ") << mpt::get_exception_text<mpt::ustring>( e ) << lf; + std_err << "error: " << e.what() << std::endl; std_err.writeout(); return 1; } catch ( std::exception & e ) { @@ -2517,7 +2517,7 @@ } catch ( silent_exit_exception & ) { return 0; } catch ( exception & e ) { - std_err << MPT_USTRING("error: ") << mpt::get_exception_text<mpt::ustring>( e ) << lf; + std_err << "error: " << e.what() << std::endl; std_err.writeout(); return 1; } catch ( std::exception & e ) { |