scilab: fix contract example (catch expected errors)