saleor / cli

Command-line interface allowing interaction with Saleor Cloud environments.
Other
69 stars 23 forks source link

Failing `saleor app tunnel --force-install` doesn't close the ngrok tunnel #714

Open peelar opened 9 months ago

peelar commented 9 months ago

Describe the bug and commend which you used When the command saleor app tunnel --force-install fails, the tunnel opened in ngrok is not closed. The next time the users try to install the app with the same command, they might get "ERROR: authentication failed: Your account is limited to 1 simultaneous ngrok agent session".

To Reproduce Steps to reproduce the behavior:

  1. Try to install a broken app through saleor app tunnel --force-install
  2. See it fail
  3. Try to open another saleor tunnel

Current behavior The tunnel for a failed app installation is not closed.

Expected behavior The tunnel for a failed app installation is closed.