some errors do not generate exit code 1.. still need to capture 0 as well.