'Log a failed download
:param epObj: Episode object
:param release: Release group
:param provider: Provider used for snatch'

@staticmethod
def logFailed(epObj, release, provider=None):

    showid = int(epObj.show.indexerid)
    season = int(epObj.season)
    epNum = int(epObj.episode)
    (status, quality) = Quality.splitCompositeStatus(epObj.status)
    action = Quality.compositeStatus(FAILED, quality)
    History._logHistoryItem(action, showid, season, epNum, quality, release, provider)
