Replies: 1 comment 1 reply
-
This is expected, you will have to change the trait objects from |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Bug Report
Version
axum v0.7.4
axum-core v0.4.3
Platform
Darwin Akhils-MacBook-Pro.local 23.2.0 Darwin Kernel Version 23.2.0: Wed Nov 15 21:53:18 PST 2023; root:xnu-10002.61.3~2/RELEASE_ARM64_T6000 arm64
Description
I created a handler function called
test
which calls two other functions which returnResult<(), Box<dyn std::error::Error>>
Getting the following error for the above code.
There is no issue when I use only one function (and comment the other) and also when I use unwrap for both function calls
I created this issue as a bug as I didn't expect this behaviour. Please let me know if I am missing something.
Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions