Added missing closing brace

MIssed a closing brace in the try/catch block