[webapp] return non-zero exit code on failure

Authored by nicolasfella on Mar 29 2020, 1:33 PM.