pushed a unknown error function to exit on catch

added if loop to check for unknown error/responce and exit() if true