aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSubodh Ranadive <subodh.ranadive@ekzero.com>2021-03-22 17:48:32 +0530
committerSubodh Ranadive <subodh.ranadive@ekzero.com>2021-03-24 15:30:32 +0530
commit6209400006ef3500adf64096dac84aa18dbf84e1 (patch)
tree2657f9731c003e48acd13b10cd9ed2a315c49bbe /src
parent94f88fa74e6cdd198511eb0dbf574030869638d7 (diff)
downloadtrackermap-server-6209400006ef3500adf64096dac84aa18dbf84e1.tar.gz
trackermap-server-6209400006ef3500adf64096dac84aa18dbf84e1.tar.bz2
trackermap-server-6209400006ef3500adf64096dac84aa18dbf84e1.zip
Review resolution
Diffstat (limited to 'src')
-rw-r--r--src/main/java/org/traccar/sms/SnsSmsClient.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/sms/SnsSmsClient.java b/src/main/java/org/traccar/sms/SnsSmsClient.java
index 3b64852b5..6089d4f38 100644
--- a/src/main/java/org/traccar/sms/SnsSmsClient.java
+++ b/src/main/java/org/traccar/sms/SnsSmsClient.java
@@ -61,7 +61,7 @@ public class SnsSmsClient implements SmsManager {
try {
snsClient.publishAsync(new PublishRequest().withMessage(message)
.withPhoneNumber(destAddress).withMessageAttributes(smsAttributes));
- } catch (Exception exception) {
+ } catch (RuntimeException exception) {
LOGGER.warn("SMS send failed", exception);
}
}