1
0

例外が出たら実行を止めるようにした

This commit is contained in:
otya128
2015-07-09 21:29:09 +09:00
parent 6c7be9b92e
commit c1f570879d

View File

@@ -193,6 +193,7 @@ class PetitComputer
}
catch(SmileBasicError sbe)
{
running = false;
try
{
printConsole(sbe.to!string);
@@ -203,6 +204,7 @@ class PetitComputer
}
catch(Throwable t)
{
running = false;
try
{
printConsole(t.to!string);