added error reporting to gdrive