If a qsub fails, for example because a required resource (e.g. h_rt) is not found, then snakemake throws the exception from the subprocess that it returned with a non-zero return values.
We should see if there's an easy way to determine why qsub failed and print that for the end user.