Add exception trap to force exit code 1

Just as it says.