outscale / packer-plugin-outscale

Packer plugin for Outscale OMI Builder
https://www.packer.io/docs/builders/outscale
Mozilla Public License 2.0
7 stars 13 forks source link

Improve error message on no OMI found #170

Closed outscale-mdr closed 4 months ago

outscale-mdr commented 9 months ago

Hello,

I have tried to build an OMI but the source OMI was wrong and I got this error:

==> outscale-bsusurrogate.builder: No OMI was found matching filters: osc.ReadImagesRequest{DryRun:(*bool)(nil), Filters:(*osc.FiltersImage)(0x140003de180)}
Build 'outscale-bsusurrogate.builder' errored after 735 milliseconds 610 microseconds: No OMI was found matching filters: osc.ReadImagesRequest{DryRun:(*bool)(nil), Filters:(*osc.FiltersImage)(0x140003de180)}

Is it possible to improve the error message to display the real Filters ?

Packer version: 1.9.4 Outscale plugin: 1.1.3