Commit 4f14647f authored by Felix Paul Kühne's avatar Felix Paul Kühne

http uploader: don't print errors if there is none

parent c0138a08
......@@ -112,7 +112,9 @@ static const int httpLogLevel = HTTP_LOG_LEVEL_VERBOSE; // | HTTP_LOG_FLAG_TRACE
if(![self.httpServer start:&error])
return true;
}
DDLogError(@"Error starting HTTP Server: %@", error);
if (error.code != 0)
DDLogError(@"Error starting HTTP Server: %@", error.localizedDescription);
return false;
}
return true;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment