Fixed: Fix Default or Empty Catch block in Java and Groovy files
I was waiting for months to do more on this, but got caught recently with this
pending change merged with a patch I tested. Better to get rid of it now.
@@ -643,7 +643,9 @@ public class ShoppingCartHelper {
} catch (CartItemModifyException e) {
errorMsgs.add(e.getMessage());
}
- } catch (NumberFormatException nfe) {}
+ } catch (NumberFormatException nfe) {
+ Debug.logError("Error deleting from cart: " + nfe.getMessage(), module);
+ }
}
}
