r262 - trunk/magalie-services/src/main/java/com/franciaflex/magalie/services/service
Author: bleny Date: 2013-06-28 10:24:42 +0200 (Fri, 28 Jun 2013) New Revision: 262 Url: http://forge.codelutin.com/projects/franciaflex-magalie/repository/revisions... Log: add more explicit logs when barcode not found Modified: trunk/magalie-services/src/main/java/com/franciaflex/magalie/services/service/MagalieBarcodeService.java Modified: trunk/magalie-services/src/main/java/com/franciaflex/magalie/services/service/MagalieBarcodeService.java =================================================================== --- trunk/magalie-services/src/main/java/com/franciaflex/magalie/services/service/MagalieBarcodeService.java 2013-06-27 15:17:40 UTC (rev 261) +++ trunk/magalie-services/src/main/java/com/franciaflex/magalie/services/service/MagalieBarcodeService.java 2013-06-28 08:24:42 UTC (rev 262) @@ -56,11 +56,11 @@ if (article == null) { if (log.isWarnEnabled()) { - log.warn("no article with code " + articleBarcode); + log.warn("no article with code " + articleBarcode + " for company " + company); } throw new InvalidMagalieBarcodeException( - "no article with code " + articleBarcode); + "no article with code " + articleBarcode + " for company " + company); } @@ -79,11 +79,11 @@ if (location == null) { if (log.isWarnEnabled()) { - log.warn("no location with code " + locationBarcode); + log.warn("no location with code " + locationBarcode + " in building " + building); } throw new InvalidMagalieBarcodeException( - "no location with code " + locationBarcode); + "no location with code " + locationBarcode + " in building " + building); }
participants (1)
-
bleny@users.forge.codelutin.com