using try catch to render the output

because $output is not available in the verifyApplicationDoesntExist
method