This commit is contained in:
Pierre-Olivier Latour 2014-04-03 15:27:44 -07:00
parent 6a4f74c2e4
commit 7cd68b3d96

View File

@ -537,7 +537,7 @@ static NSString* _StringFromAddressData(NSData* data) {
GCDWebServerResponse* response = nil;
@try {
response = block(request);
LOG_VERBOSE(@"%@ | %@ \"%@ %@\" %i %lu", self.localAddressString, self.remoteAddressString, _request.method, _request.path, (int)response.statusCode, (unsigned long)response.contentLength);
LOG_VERBOSE(@"%@ | %@ \"%@ %@\" %i %lu", self.localAddressString, self.remoteAddressString, _request.method, _request.path, (int)response.statusCode, (unsigned long)(response.contentLength != NSNotFound ? response.contentLength : 0));
}
@catch (NSException* exception) {
LOG_EXCEPTION(exception);