restructure exception handling block when CX throws
restructure exception handling block when CX throws

handle 'array' type returns closes https://gitlab.com/dcollier1/cx_testrunner/-/issues/5

GoogleCloudPlatform/dfcx-scrapi,GoogleCloudPlatform/dfcx-scrapi