Skip to content

Commit

Permalink
prevent failing request when app is not null
Browse files Browse the repository at this point in the history
  • Loading branch information
Maria Farooq committed Dec 14, 2017
1 parent b60c6ad commit 99016f3
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -194,7 +194,7 @@ private boolean redirectToHostedSmsApp(final ActorRef self, final SmppInboundMes
}
if (isApplicationNull && appUri != null) {
builder.setUrl(UriUtils.resolve(appUri));
} else {
} else if (isApplicationNull){
logger.warning("the matched number doesn't have SMS application attached, number: "+number.getPhoneNumber());
return false;
}
Expand Down

0 comments on commit 99016f3

Please sign in to comment.