adjusted catch() example [skip ci]