Subversion Repositories SmartDukaan

Rev

Rev 2974 | Rev 3080 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2974 Rev 2983
Line 69... Line 69...
69
	    long cartId = userinfo.getCartId();
69
	    long cartId = userinfo.getCartId();
70
	    if(cartId != -1){
70
	    if(cartId != -1){
71
        	try {
71
        	try {
72
    			UserContextService.Client userClient = (new UserContextServiceClient()).getClient();
72
    			UserContextService.Client userClient = (new UserContextServiceClient()).getClient();
73
    			errorMsg = userClient.validateCart(cartId);
73
    			errorMsg = userClient.validateCart(cartId);
-
 
74
    			log.info("Error Message rcvd from the service is:" + errorMsg);
74
    		} catch (Exception e) {
75
    		} catch (Exception e) {
75
    			// This exception can be ignored for showing the cart. Not so
76
    			// This exception can be ignored for showing the cart. Not so
76
    			// innocent when this occurs at the time of checkout or when the
77
    			// innocent when this occurs at the time of checkout or when the
77
    			// user is proceeding to pay.
78
    			// user is proceeding to pay.
78
    		    log.warn("Unable to validate the cart: ", e);
79
    		    log.warn("Unable to validate the cart: ", e);