ALL: Fix debug, warning and error usage
Added prefixes, used debug(9).
This commit is contained in:
parent
d57e0c89b5
commit
15c6772ff7
28 changed files with 111 additions and 109 deletions
|
@ -99,8 +99,10 @@ void DownloadRequest::handle() {
|
|||
|
||||
if (_remoteFileStream->eos()) {
|
||||
if (_remoteFileStream->httpResponseCode() != 200) {
|
||||
warning("HTTP response code is not 200 OK (it's %ld)", _remoteFileStream->httpResponseCode());
|
||||
warning("DownloadRequest: HTTP response code is not 200 OK (it's %ld)", _remoteFileStream->httpResponseCode());
|
||||
//TODO: do something about it actually
|
||||
// the problem is file's already downloaded, stream is over
|
||||
// so we can't return error message anymore
|
||||
}
|
||||
|
||||
finishDownload(_remoteFileStream->httpResponseCode() == 200);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue