Re-throw exception on send fail.
authorCarl Hetherington <cth@carlh.net>
Thu, 25 Oct 2012 17:13:01 +0000 (18:13 +0100)
committerCarl Hetherington <cth@carlh.net>
Thu, 25 Oct 2012 17:13:01 +0000 (18:13 +0100)
src/lib/server.cc

index 0bf42bcb9f4fb8c8b58575ce2a809097d8040c26..a06f0c0ebac978da716e691c8bd1831471dd54b1 100644 (file)
@@ -138,6 +138,7 @@ Server::process (shared_ptr<Socket> socket)
                                   image->pixel_format(), image->size().width, image->size().height, image->components()
                                   )
                        );
+               throw;
        }
 
        return frame;