mirror of
https://github.com/Icinga/icinga-powershell-framework.git
synced 2025-12-27 10:09:46 -05:00
Fixed code styling
This commit is contained in:
parent
00102cb9e1
commit
753659f4d1
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue