Skip to content
This repository was archived by the owner on May 1, 2024. It is now read-only.

Commit c44f8f5

Browse files
authored
AN-8581 Add exception argument to handler404 function signature (#165)
* Add exception arg to handler404 function signature * Use the underscore var for unused exception arg * Make exception arg an unused keyword arg
1 parent bc3150b commit c44f8f5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

analyticsdataserver/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ def handle_internal_server_error(_request):
1212
return _handle_error(500)
1313

1414

15-
def handle_missing_resource_error(_request):
15+
def handle_missing_resource_error(_request, exception=None): # pylint: disable=unused-argument
1616
"""Notify the client that the requested resource could not be found."""
1717
return _handle_error(404)
1818

0 commit comments

Comments
 (0)