attempt to catch error