# Web Manager reports no error where client log warns of fatal condition (DSC)

**URL:** <https://discourse.chef.io/t/web-manager-reports-no-error-where-client-log-warns-of-fatal-condition-dsc/7716>\
**Category:** Chef Infra (archive)\
**Created:** [February 1, 2016, 5:13pm UTC](https://discourse.chef.io/t/web-manager-reports-no-error-where-client-log-warns-of-fatal-condition-dsc/7716 "2016-02-01T17:13:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![webtonize](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/webtonize/32/1261_2.png) [@webtonize](https://discourse.chef.io/u/webtonize)\
**Post date:** [February 1, 2016, 5:13pm UTC](https://discourse.chef.io/t/web-manager-reports-no-error-where-client-log-warns-of-fatal-condition-dsc/7716/1 "2016-02-01T17:13:25Z")

</div>

I’m all new to Chef and such, so it could be something I still have to learn about, but I feel i ran in to something unusual with Chef this weekend.

I intentionally setup a dsc\_script resource to fail, but the webinterface just reported everything went fine and there are no errors to report. The log on the chef-client gives a warning

the resource:  
dsc\_script ‘MustThrowError’ do  
code \<\<-EOH  
WindowsFeature InstallIISConsole  
{  
Name = "MustThrowError"  
Ensure = “Present”  
}  
EOH  
end

And the chef-client log:

[2016-02-01T18:05:15+01:00] WARN: Received error while testing configuration:  
PowerShell DSC resource MSFT\_RoleResource failed to execute Test-TargetResourc e functionality with error message: The requested feature MustThrowError is not found on the target machine. + CategoryInfo : InvalidOperation: (🙂 [], CimException + FullyQualifiedErrorId : ProviderOperationExecutionFailure + PSComputerName : . The SendConfigurationApply function did not succeed. + CategoryInfo : NotSpecified: (root/Microsoft/…gurationManager :String) [], CimException + FullyQualifiedErrorId : MI RESULT 1 + PSComputerName : .

Is there some kind of configuration change I need to make to the server or client here to get this “warning”, which to me seems pretty fatal enough to get some higher classification, show up in the Web UI and command-line tools?
