proper error handling for OPML upload