From 8c247399a914f2934d70fadc33b04c8190d18293 Mon Sep 17 00:00:00 2001 From: Thulinma Date: Sun, 4 Dec 2011 21:13:43 +0100 Subject: [PATCH] More debugging for stats bugs --- DDV_Controller/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/DDV_Controller/main.cpp b/DDV_Controller/main.cpp index 49452f0f..b9f39557 100644 --- a/DDV_Controller/main.cpp +++ b/DDV_Controller/main.cpp @@ -460,6 +460,8 @@ int main(int argc, char ** argv){ Storage["statistics"][thisbuffer]["log"][jit.memberName()] = Request["log"][jit.memberName()]; } } + }else{ + Log("STAT", "Failed to parse stats from a buffer: "+it->Received().substr(0, newlines)); } it->Received().erase(0, newlines+2); newlines = it->Received().find("\n\n");