Skip to content

Commit fd06a3e

Browse files
committed
change XHR onerror message to be consistent with elsewhere
1 parent f221770 commit fd06a3e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/TokenRevocationClient.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ export class TokenRevocationClient {
6161
}
6262
};
6363
xhr.onerror = () => {
64-
Log.debug("TokenRevocationClient.revoke: Failed to connect to server.")
65-
reject("Failed to connect to server");
64+
Log.debug("TokenRevocationClient.revoke: Network Error.")
65+
reject("Network Error");
6666
};
6767

6868
var body = "client_id=" + encodeURIComponent(client_id);

0 commit comments

Comments
 (0)