Skip to content
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

Don't panic when behavior-version-latest (or major version) not set #1190

Closed
1 of 2 tasks
k-bx opened this issue Sep 17, 2024 · 2 comments
Closed
1 of 2 tasks

Don't panic when behavior-version-latest (or major version) not set #1190

k-bx opened this issue Sep 17, 2024 · 2 comments
Labels
feature-request A feature should be added or improved.

Comments

@k-bx
Copy link

k-bx commented Sep 17, 2024

Describe the feature

I've deployed my program to production server and it panics because I didn't put "behavior-version-latest" in my Cargo.toml. The code that communicates with the storage is totally optional so I'm catching any "Err"-response upon connection and just log it. To my surprise, it crashed the whole runtime which is not great.

Use Case

Proposed Solution

No response

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

A note for the community

No response

@k-bx k-bx added feature-request A feature should be added or improved. needs-triage This issue or PR still needs to be triaged. labels Sep 17, 2024
@aajtodd aajtodd removed the needs-triage This issue or PR still needs to be triaged. label Sep 18, 2024
@aajtodd
Copy link
Contributor

aajtodd commented Sep 18, 2024

Thanks for the feedback. This is documented behavior but I understand that it resulted in a frustrating experience.

The recommended way to create service clients is through the aws-config crate, you can find documentation on creating a service client this way in the developer guide.

I'm going to close this as it's expected behavior.

@aajtodd aajtodd closed this as completed Sep 18, 2024
Copy link

Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request A feature should be added or improved.
Projects
None yet
Development

No branches or pull requests

2 participants