undo change to ProfitLib exception handling to fix regression