Fixes JSON validator to always return False on unhandled errors

This commit is contained in:
Lord Hepipud 2024-04-10 18:04:59 +02:00
parent 174063e5ee
commit 9d1a9e87c4
2 changed files with 10 additions and 1 deletions

View file

@ -11,6 +11,15 @@ Released closed milestones can be found on [GitHub](https://github.com/Icinga/ic
[Issues and PRs](https://github.com/Icinga/icinga-powershell-framework/milestone/32)
## 1.12.3 (tbd)
[Issues and PRs](https://github.com/Icinga/icinga-powershell-framework/milestone/35)
### Bugfixes
* [#718](https://github.com/Icinga/icinga-powershell-framework/issues/718) Fixes Icinga repository JSON validator to report the correct state of the validation status, in case the JSON is not valid
## 1.12.2 (2024-04-10)
[Issues and PRs](https://github.com/Icinga/icinga-powershell-framework/milestone/34)

View file

@ -47,5 +47,5 @@ function Test-IcingaJSONObject()
}
}
return $TRUE;
return $FALSE;
}