A bit more debug logging.
authorCarl Hetherington <cth@carlh.net>
Thu, 25 Oct 2012 22:59:26 +0000 (23:59 +0100)
committerCarl Hetherington <cth@carlh.net>
Thu, 25 Oct 2012 22:59:26 +0000 (23:59 +0100)
src/lib/server.cc

index a06f0c0ebac978da716e691c8bd1831471dd54b1..38f9834ff3be354a74361fc60cd6b787fe119748 100644 (file)
@@ -134,8 +134,8 @@ Server::process (shared_ptr<Socket> socket)
                encoded->send (socket);
        } catch (std::exception& e) {
                _log->log (String::compose (
-                                  "Send failed; pixel format %1, size %2x%3, %4 components",
-                                  image->pixel_format(), image->size().width, image->size().height, image->components()
+                                  "Send failed; frame %1, data size %2, pixel format %3, image size %4x%5, %6 components",
+                                  frame, encoded->size(), image->pixel_format(), image->size().width, image->size().height, image->components()
                                   )
                        );
                throw;