reorganize try block for test generation
1 file changed