mirror of
https://github.com/Icinga/icinga-powershell-framework.git
synced 2025-12-20 23:00:35 -05:00
Merge pull request #128 from Icinga:fix/icinga_timer_unhandled_output
Fixes uncatched invisible output on Start-IcingaTimer Fixes unhandled output from loading `System.Reflection.Assembly` which can cause weird side effects for plugin outputs
This commit is contained in:
commit
8a99b1761f
2 changed files with 2 additions and 1 deletions
|
|
@ -14,6 +14,7 @@ Released closed milestones can be found on [GitHub](https://github.com/Icinga/ic
|
||||||
### Bugfixes
|
### Bugfixes
|
||||||
|
|
||||||
* [#127](https://github.com/Icinga/icinga-powershell-framework/issues/127) Fixes wrong error message on failed MSSQL connection due to database not reachable by using `-IntegratedSecurity`
|
* [#127](https://github.com/Icinga/icinga-powershell-framework/issues/127) Fixes wrong error message on failed MSSQL connection due to database not reachable by using `-IntegratedSecurity`
|
||||||
|
* [#128](https://github.com/Icinga/icinga-powershell-framework/issues/128) Fixes unhandled output from loading `System.Reflection.Assembly` which can cause weird side effects for plugin outputs
|
||||||
|
|
||||||
## 1.2.0 (2020-08-28)
|
## 1.2.0 (2020-08-28)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -32,7 +32,7 @@ function Start-IcingaTimer()
|
||||||
}
|
}
|
||||||
|
|
||||||
# Load the library first
|
# Load the library first
|
||||||
[System.Reflection.Assembly]::LoadWithPartialName("System.Diagnostics");
|
[System.Reflection.Assembly]::LoadWithPartialName("System.Diagnostics") | Out-Null;
|
||||||
$TimerObject = New-Object System.Diagnostics.Stopwatch;
|
$TimerObject = New-Object System.Diagnostics.Stopwatch;
|
||||||
$TimerObject.Start();
|
$TimerObject.Start();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue