-
Notifications
You must be signed in to change notification settings - Fork 841
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
WSL Plugin: How to display error messages to the user #12372
Comments
Logs are required for review from WSL teamIf this a feature request, please reply with '/feature'. If this is a question, reply with '/question'. How to collect WSL logsDownload and execute collect-wsl-logs.ps1 in an administrative powershell prompt:
The script will output the path of the log file once done. If this is a networking issue, please use collect-networking-logs.ps1, following the instructions here Once completed please upload the output files to this Github issue. Click here for more info on logging |
/question |
Diagnostic information
|
@ssijbabu: The best way to achieve would be by calling PluginError(). Something like:
|
I am currently developing a WSL plugin that needs to validate the operating system of the distribution during the onDistributionStarted event. If the OS is not authorized, the plugin should:
onDistributionStarted
event to prevent further execution.I’m reaching out to seek your guidance on how best to achieve this functionality. Specifically, I’d like to know:
Any advice, examples, or resources you can share would be greatly appreciated. Thank you for your time and expertise!
The text was updated successfully, but these errors were encountered: