-
Notifications
You must be signed in to change notification settings - Fork 4k
AzureRT S54 PR #2 - Record Debug Messages & Fix Add-AzureVhd #905
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
Conversation
Release 0.9.8
…o r098 Conflicts: src/Common/AzurePSCmdlet.cs
Hi @huangpf, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!
TTYL, AZPRBOT; |
Fix #387 |
@@ -254,7 +257,7 @@ protected bool IsVerbose() | |||
|
|||
protected new void WriteError(ErrorRecord errorRecord) | |||
{ | |||
FlushDebugMessages(); | |||
FlushDebugMessages(IsDataCollectionAllowed()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no need to pass IsDataCollectionAllowed()
just use it in FlushDebugMessages
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But we only want to log when there is an exception. Do you mean you want to log everything if data collection is allowed?
added a nit |
AzureRT S54 PR #2 - Record Debug Messages & Fix Add-AzureVhd
No description provided.