Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add fallback handler to axum Router #258

Merged
merged 1 commit into from
Jan 28, 2025

Conversation

LeonMatthesKDAB
Copy link

Description

By default the fallback handler now logs the path that could not be
found.
This can be vital for debugging, as otherwise there is no feedback on
the server if a method is called that isn't registered.

Issue reference

None

Checklist

  • Code compiles correctly
  • Created/updated tests
  • Extended the documentation

I believe it shouldn't be necessary to update the documentation or add new tests (the test_actor_deactivate call already tests 404 behavior).

@LeonMatthesKDAB LeonMatthesKDAB requested review from a team as code owners January 28, 2025 16:34
By default the fallback handler now logs the path that could not be
found.
This can be vital for debugging, as otherwise there is no feedback on
the server if a method is called that isn't registered.

Signed-off-by: Leon Matthes <leon.matthes@kdab.com>
@mikeee mikeee added this to the 0.16.0 milestone Jan 28, 2025
Copy link
Member

@mikeee mikeee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm, thank you very much for raising this!

@mikeee mikeee merged commit 52f095f into dapr:release-0.16 Jan 28, 2025
25 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants