Fixed code styling

This commit is contained in:
Lord Hepipud 2019-09-25 19:57:31 +02:00
parent b95281a1d8
commit 2a27482d9c

View file

@ -54,7 +54,7 @@ function Get-IcingaEventLog()
}
try {
$events = Get-EventLog @EventLogArguments;
$events = Get-EventLog @EventLogArguments;
} catch {
Exit-IcingaThrowException -InputString $_.Exception -StringPattern 'ParameterBindingValidationException' -ExceptionType 'Input' -ExceptionThrown $IcingaExceptions.Inputs.EventLog;
Exit-IcingaThrowException -InputString $_.Exception -StringPattern 'System.InvalidOperationException' -CustomMessage (-Join $LogName) -ExceptionType 'Input' -ExceptionThrown $IcingaExceptions.Inputs.EventLogLogName;