@@ -212,7 +212,11 @@ public class ProductServiceImpl implements ProductService {
saveList.add(product);
}
- return productDao.save(saveList);
+ try {
+ return productDao.save(saveList);
+ } catch (Exception e) {
+ throw new RuntimeException(e);
+ }
/**