From f6904b1d302f994be72f894cfc2dbc679c264332 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?DragonRatTiger=20/=20=E3=83=AA=E3=83=A5=E3=82=A6=E3=82=B3?= Date: Sun, 28 Jul 2024 02:26:53 -0500 Subject: [PATCH] Fix build fail on Release configuration (#663) --- OpenTaiko/src/Common/Program.cs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/OpenTaiko/src/Common/Program.cs b/OpenTaiko/src/Common/Program.cs index 7833c02f..673952f4 100644 --- a/OpenTaiko/src/Common/Program.cs +++ b/OpenTaiko/src/Common/Program.cs @@ -114,12 +114,9 @@ namespace TJAPlayer3 { catch( Exception e ) { Trace.WriteLine( "" ); + Trace.WriteLine( "OpenTaiko ran into an unexpected error, and can't continue from here! Σ(っ °Д °;)っ" ); + Trace.WriteLine( "More details: " ); Trace.Write( e.ToString() ); - Trace.WriteLine( "" ); - Trace.WriteLine( "エラーだゴメン!(涙" ); - AssemblyName asmApp = Assembly.GetExecutingAssembly().GetName(); - //MessageBox.Show( "エラーが発生しました。\n" + - // e.ToString(), asmApp.Name + " Ver." + asmApp.Version.ToString().Substring(0, asmApp.Version.ToString().Length - 2) + " Error", MessageBoxButtons.OK, MessageBoxIcon.Error ); // #23670 2011.2.28 yyagi to show error dialog } #endif // END #24606 2011.03.08 from