wasp
wasp copied to clipboard
Refactor `deploy` package error handling
Based on https://github.com/wasp-lang/wasp/pull/2578#discussion_r2077374163
We should avoid calling exit in the helper functions and throw instead. We should handle the throws at the top level and then exit with code 1.