frostyx / copr / copr

Forked from copr/copr 7 years ago
Clone

35e8852 frontend: detect ClientDisconnected errors

1 file Authored by praiskup 2 years ago, Committed by frostyx 2 years ago,
    frontend: detect ClientDisconnected errors
    
    The ClientDisconnected is just HttpException sub-class, so we already
    handle that.  It is though good to special-case it and properly dump
    what is happening to logs.
    
    I realized that previous commit stopped logging the HTTP errors to logs
    entirely (we only have error code in the access_log).  It is probably
    better to say explicit, and still have a single-line error for each
    non-200 error we send to users.
    
    Relates: #1600