Snapcraft build doesnt fail when colcon build fails

Hi, I tried building my snap with snapcraft on latest/stable and latest/edge. When there is failure on building colcon. The snapcraft build just continues to the next part, without failing the build process.

How can i make it exit with error when colcon fails?

it now fails with the new snapcraft version on latest/stable revision (7664).