sst / sst

Build full-stack apps on your own infrastructure.
https://sst.dev
MIT License
24.04k stars 1.85k forks source link

Silently fails when deploying with incorrect target #5910

Open claridgicus opened 3 weeks ago

claridgicus commented 3 weeks ago

Hello SST fam

This is a miniscule one - but something worth improving to save frustration

When I run a command like

sst deploy --stage production --target somethingthatdoesnotexist

instead of throwing the error message which appears in the logs.

Target not found: somethingthatdoesnotexist

SST just silently fails and asks me to run with logs.

I would expect the behaviour to output the error to the console to punish me for my foolishness