Subversion Repositories SmartDukaan

Rev

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

Rev 25733 Rev 25741
Line 1469... Line 1469...
1469
 
1469
 
1470
					if (response.getStatusLine().getStatusCode() == 200) {
1470
					if (response.getStatusLine().getStatusCode() == 200) {
1471
						pushNotification.setSentTimestamp(LocalDateTime.now());
1471
						pushNotification.setSentTimestamp(LocalDateTime.now());
1472
					} else {
1472
					} else {
1473
						pushNotification.setSentTimestamp(LocalDateTime.of(1970, 1, 1, 00, 00));
1473
						pushNotification.setSentTimestamp(LocalDateTime.of(1970, 1, 1, 00, 00));
1474
						LOGGER.info("message" + "not sent");
1474
						LOGGER.info("message" + response);
1475
					}
1475
					}
1476
 
1476
 
1477
				} catch (Exception e) {
1477
				} catch (Exception e) {
1478
					e.printStackTrace();
1478
					e.printStackTrace();
1479
					LOGGER.info("message" + "not sent");
1479
					LOGGER.info("message" + "not sent");