Skip to content

Commit dfbad1e

Browse files
committed
There are typos in a comment and a log message GoogleCloudPlatform#11294
1 parent f39ddd9 commit dfbad1e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

endpoints/getting-started/main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def echo():
5353

5454
# [START endpoints_auth_info_backend]
5555
def auth_info():
56-
"""Retrieves the authenication information from Google Cloud Endpoints."""
56+
"""Retrieves the authentication information from Google Cloud Endpoints."""
5757
encoded_info = request.headers.get("X-Endpoint-API-UserInfo", None)
5858
if encoded_info:
5959
info_json = _base64_decode(encoded_info)
@@ -89,7 +89,7 @@ def auth_info_firebase():
8989
@app.errorhandler(http_client.INTERNAL_SERVER_ERROR)
9090
def unexpected_error(e):
9191
"""Handle exceptions by returning swagger-compliant json."""
92-
logging.exception("An error occured while processing the request.")
92+
logging.exception("An error occurred while processing the request.")
9393
response = jsonify(
9494
{"code": http_client.INTERNAL_SERVER_ERROR, "message": f"Exception: {e}"}
9595
)

0 commit comments

Comments
 (0)