rescue errors during file uploads to dropbox