Permalink
Browse files

enabled try/catch for cart loading

  • Loading branch information...
movAX13h committed May 6, 2018
1 parent 1661c2b commit 714278e69c14b248f40e861957b585021e850627
Showing with 4 additions and 4 deletions.
  1. +4 −4 P8Coder/Core/Project.cs
@@ -29,14 +29,14 @@ public string CartFilename
if (value != string.Empty)
{
Cart = new Cartridge(value);
//try
try
{
Cart.Load();
}
//catch(Exception e)
catch(Exception e)
{
// Debug.WriteLine(e.Message);
// Cart = null;
//Debug.WriteLine(e.Message);
Cart = null;
}
}
}

0 comments on commit 714278e

Please sign in to comment.