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

xService: errors creating a service are not logged #62

Closed
TravisEz13 opened this issue Jan 27, 2016 · 0 comments
Closed

xService: errors creating a service are not logged #62

TravisEz13 opened this issue Jan 27, 2016 · 0 comments

Comments

@TravisEz13
Copy link
Contributor

Wesley Smith posted the following question for xPSDesiredStateConfiguration Module – PowerShell DSC Resource Kit on Wednesday, October 1, 2014. View online.

Errors creating a service are not logged

Using ModuleVersion = '3.0.2.0': When using xService, if the service doesn't get created due to a configuration error, then the DSC log doesn't show the error message. I believe that this is because of a error in MSDT_xServiceResource.psm1, near line 293:

Write-Log ("Error creating service `"$($argumentsToNewService["Name"])`"", $_.Exception.Message)

Write-Log is expecting a string argument, but it's being passed a string[].

@TravisEz13 TravisEz13 self-assigned this Jan 27, 2016
@TravisEz13 TravisEz13 added the in progress The issue is being actively worked on by someone. label Jan 27, 2016
@TravisEz13 TravisEz13 removed their assignment Jan 27, 2016
@KarolKaczmarek KarolKaczmarek removed the in progress The issue is being actively worked on by someone. label Jan 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants