CB-5182 Adding generic error case to run script

Reviewed by Bryan Higgins <bhiggins@blackberry.com>