mirror of
https://github.com/Icinga/icinga-powershell-framework.git
synced 2025-12-21 07:10:15 -05:00
Fixed code styling
This commit is contained in:
parent
b95281a1d8
commit
2a27482d9c
1 changed files with 1 additions and 1 deletions
|
|
@ -54,7 +54,7 @@ function Get-IcingaEventLog()
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$events = Get-EventLog @EventLogArguments;
|
$events = Get-EventLog @EventLogArguments;
|
||||||
} catch {
|
} catch {
|
||||||
Exit-IcingaThrowException -InputString $_.Exception -StringPattern 'ParameterBindingValidationException' -ExceptionType 'Input' -ExceptionThrown $IcingaExceptions.Inputs.EventLog;
|
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;
|
Exit-IcingaThrowException -InputString $_.Exception -StringPattern 'System.InvalidOperationException' -CustomMessage (-Join $LogName) -ExceptionType 'Input' -ExceptionThrown $IcingaExceptions.Inputs.EventLogLogName;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue