-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEAT] Handle linking errors better than just a warning log #10
Comments
@brooksmtownsend I'd like to work on this one too! Could you possibly shed some more light on how you would like this feature to work? I think I have an idea, but would like to get a baseline first. When/how can a link fail? |
Hey @tom-fitz this one might be a little more difficult to solve for the ideal case, e.g. telling the host that a link failed 🤔 Right now we just log errors if we fail to handle a link, but ideally wasmCloud itself could bubble that information up and report it as a failed link. As far as improving this in the go provider SDK though, we could keep track of links that fail separately than the established list of links, so that we don't ignore them as duplicates. That would be a way to do some error handling when a "failed" link comes in, I just don't want to overcomplicate tracking |
… provider via server)
Could we not pass them back the same way the links are being passed to the cloud provider? I might be over simplifying it or not understanding completely, but I put this PR together to show you what I mean. |
@brooksmtownsend Let me know if PR: #20 closes this issue and if you have anymore Go work! I like the project and would like to continue to contribute |
Thank you @tom-fitz ! Apologies, this got marked off in my inbox mistakenly, taking a look now 😄 |
This isn't unique to the Go provider SDK, it would also be great to handle these in Rust better too. Once we have a proper way to report a failed link up to the host we should use that channel to report issues.
The text was updated successfully, but these errors were encountered: