Skip to content

Commit 81d74b4

Browse files
committed
Fix
1 parent f7de5ca commit 81d74b4

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

GCDWebServer/Core/GCDWebServer.m

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -616,9 +616,11 @@ - (BOOL)_start:(NSError**)error {
616616
if (_resolutionService) {
617617
CFNetServiceSetClient(_resolutionService, _NetServiceResolveCallBack, &context);
618618
CFNetServiceScheduleWithRunLoop(_resolutionService, CFRunLoopGetMain(), kCFRunLoopCommonModes);
619+
} else {
620+
GWS_LOG_ERROR(@"Failed creating CFNetService for resolution");
619621
}
620622
} else {
621-
GWS_LOG_ERROR(@"Failed creating CFNetService");
623+
GWS_LOG_ERROR(@"Failed creating CFNetService for registration");
622624
}
623625
}
624626

0 commit comments

Comments
 (0)