commit | 450cf73d7500ae3476b6d744c5834bb1ab5a8c91 | [log] [tgz] |
---|---|---|
author | Dennis Dmitriev <ddmitriev@mirantis.com> | Thu Nov 11 14:59:17 2021 +0200 |
committer | Dennis Dmitriev <ddmitriev@mirantis.com> | Thu Nov 11 15:03:19 2021 +0200 |
tree | a3f02ce77e84064e54366cecfb7ccf7a27a62256 | |
parent | 6c355be5b2187246dc9114bc1ddf8390421ce785 [diff] |
Check for interpolation errors while accessing YAML objects If a wrong key/index will be used to get a parameter using 'get_variable_from_yaml', groovy may return a bunch of different interpolation errors, or hide the actual error by returning 'null' object. Try to catch such errors and show the actual info about it. Task: PRODX-19061 Related to: PRODX-16926 Change-Id: I4aed8f9988e854f7e0aec0cadeb065e8dae31603