better logging

This commit is contained in:
PrototypeTrousers
2022-02-28 23:10:26 -03:00
parent f98f6ef852
commit 0ed0eb9d5f
@@ -167,7 +167,7 @@ public class CraftingJob implements Runnable, ICraftingJob
} }
craftingTreeWatch.stop(); craftingTreeWatch.stop();
this.logCraftingJob( "real", craftingTreeWatch ); this.logCraftingJob( "real, success", craftingTreeWatch );
} }
catch( final CraftBranchFailure e ) catch( final CraftBranchFailure e )
{ {
@@ -199,7 +199,7 @@ public class CraftingJob implements Runnable, ICraftingJob
else else
{ {
craftingTreeWatch.stop(); craftingTreeWatch.stop();
this.logCraftingJob( "real", craftingTreeWatch ); this.logCraftingJob( "real, failed", craftingTreeWatch );
} }
} }
catch( final CraftBranchFailure e1 ) catch( final CraftBranchFailure e1 )
@@ -266,12 +266,13 @@ public class CraftingJob implements Runnable, ICraftingJob
AELog.craftingDebug( "crafting job now active" ); AELog.craftingDebug( "crafting job now active" );
} }
} }
if( Thread.interrupted() )
{
throw new InterruptedException();
}
} }
if( Thread.interrupted() )
{
throw new InterruptedException();
}
this.incTime++; this.incTime++;
} }