1
0
mirror of synced 2024-11-23 23:21:06 +01:00

Fix build fail on Release configuration (#663)

This commit is contained in:
DragonRatTiger / リュウコ 2024-07-28 02:26:53 -05:00 committed by GitHub
parent 0aef70de42
commit f6904b1d30
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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