Catching error output from stdout as well.  Fixed example case