trycatch giantswitch