it seems as if trycatch has to be outside of the handlescope.