added error handling when we scp over the crashlog from the appcontroller