Subversion Repositories SmartDukaan

Rev

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

Rev 25355 Rev 25356
Line 1335... Line 1335...
1335
					LOGGER.info("response" + response);
1335
					LOGGER.info("response" + response);
1336
 
1336
 
1337
					if (response.getStatusLine().getStatusCode() == 200) {
1337
					if (response.getStatusLine().getStatusCode() == 200) {
1338
						pushNotification.setSentTimestamp(LocalDateTime.now());
1338
						pushNotification.setSentTimestamp(LocalDateTime.now());
1339
					} else {
1339
					} else {
-
 
1340
						pushNotification.setSentTimestamp(LocalDateTime.of(1970, 1, 1, 00, 00));
1340
						LOGGER.info("message" + "not sent");
1341
						LOGGER.info("message" + "not sent");
1341
					}
1342
					}
1342
 
1343
 
1343
				} catch (Exception e) {
1344
				} catch (Exception e) {
1344
					e.printStackTrace();
1345
					e.printStackTrace();