stable-diffusion-webui icon indicating copy to clipboard operation
stable-diffusion-webui copied to clipboard

early return on bad args rather than waiting for entire app to load

Open hananbeer opened this issue 1 year ago • 1 comments

a minor annoyance I mistyped an argument and the entire app tries to load before failing on the bad arg and crashing.

a simple one liner fixed the issue by parsing arguments before anything else.

hananbeer avatar Mar 14 '23 10:03 hananbeer

I really don't know anymore why testing fails. all it says is:

Launch unsuccessful
Stopping Web UI process with id 2182
Error: Process completed with exit code 1.

sorry for the absolute clutter for such a tiny commit 😓

hananbeer avatar Mar 14 '23 10:03 hananbeer