replace usage of #try with #respond_to?

replace the last usage of #try with #respond_to?

this solves https://github.com/rollbar/rollbar-gem/issues/173