例外が出たら実行を止めるようにした
This commit is contained in:
1 parent
6c7be9b92e
commit
c1f570879d
1 file changed
+2
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user