Commit 50619786 authored by Nikhil Singh[MicroSoft]'s avatar Nikhil Singh[MicroSoft]
Browse files

Commit 12 Contents:

1-Remove extra exception catching
parent 5886e2cb
Pipeline #53716 failed with stages
in 56 seconds
......@@ -43,12 +43,8 @@ public class HmacAuth implements SecretAuth {
public String getPushUrl(String endpoint) throws Exception {
String pushUrl = endpoint;
try {
String signedjwt = this.signatureService.getSignedSignature(endpoint, hmacSecret.getValue());
pushUrl += "?hmac=" + signedjwt;
} catch (Exception e) {
throw e;
}
String signedjwt = this.signatureService.getSignedSignature(endpoint, hmacSecret.getValue());
pushUrl += "?hmac=" + signedjwt;
return pushUrl;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment