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

[storage-blob] environment variable inputs and samples with error handling #4906

Closed
YoDaMa opened this issue Aug 26, 2019 · 2 comments
Closed
Assignees
Labels
Client This issue points to a problem in the data-plane of the library. Storage Storage Service (Queues, Blobs, Files)

Comments

@YoDaMa
Copy link
Contributor

YoDaMa commented Aug 26, 2019

Environment Variables in Samples

This one is simple. Rather than having users edit and paste in their Account and Account Key, pass them in as environment variables. This is easy to do when debugging using VSCode, and also takes minimal effort through the command prompt. The benefit is that users will be less likely to publish personal information in files.

Samples with Error Handling

In the samples for azure storage v12 I don't see any sample dealing with how to handle an HTTP error (for example 400). Can error handling be added to the advanced.js sample?

@maggiepint maggiepint added the Client This issue points to a problem in the data-plane of the library. label Aug 27, 2019
@HarshaNalluru HarshaNalluru added the Storage Storage Service (Queues, Blobs, Files) label Aug 29, 2019
@XiaoningLiu
Copy link
Member

@HarshaNalluru Do you have time for sample update about error handling in track2?

@jeremymeng
Copy link
Member

Closing as the work is merged.

@github-actions github-actions bot locked and limited conversation to collaborators Apr 12, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Client This issue points to a problem in the data-plane of the library. Storage Storage Service (Queues, Blobs, Files)
Projects
None yet
Development

No branches or pull requests

7 participants