Skip to content

Commit 51362fb

Browse files
authored
fix the most egregious issue with the use of python logging (#138)
1 parent dba043c commit 51362fb

File tree

1 file changed

+1
-1
lines changed
  • src/firebase_functions/private

1 file changed

+1
-1
lines changed

src/firebase_functions/private/util.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ def _on_call_valid_body(request: _Request) -> bool:
133133
def _on_call_valid_method(request: _Request) -> bool:
134134
"""Make sure it's a POST."""
135135
if request.method != "POST":
136-
_logging.warning("Request has invalid method.", request.method)
136+
_logging.warning("Request has invalid method. %s", request.method)
137137
return False
138138
return True
139139

0 commit comments

Comments
 (0)