Closed kwaa closed 4 months ago
The recent changes in data.rs
involve updating the error handling for two critical environment variables, HATSU_DOMAIN
and HATSU_PRIMARY_ACCOUNT
. Previously, errors with these variables were propagated automatically. Now, custom error messages prompt proper setup and refer users to documentation if these environment variables are not found.
File | Change Summary |
---|---|
.../src/data.rs |
Updated error handling for HATSU_DOMAIN and HATSU_PRIMARY_ACCOUNT environment variables to use expect with custom messages. |
🐇✨
In the code, I hopped to see, An error message, plain and free. "HATSU_DOMAIN not found," it said, With a link to documentation, ahead.
Code more clear, errors less grim, A rabbit's touch, makes systems swim.
🌟🎉
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit
HATSU_DOMAIN
andHATSU_PRIMARY_ACCOUNT
, providing clearer guidance and links to relevant documentation.