[#63806804] Abort if request fails

So that we return the correct exit code. Where previously run from Jenkins:
```
Failed to configure the edge gateway
Finished: SUCCESS
```