Removes err variable for try/catch block, to fix error in OSS testing (OSS vs internal have different ts compiler flags)
Removes err variable for try/catch block, to fix error in OSS testing (OSS vs
internal have different ts compiler flags)

PiperOrigin-RevId: 362108561

PAIR-code/lit,pair-code/lit,pair-code/lit,pair-code/lit,pair-code/lit,PAIR-code/lit,PAIR-code/lit,PAIR-code/lit,pair-code/lit,PAIR-code/lit