rygel r145 - in trunk: . src/media-server



Author: zeeshanak
Date: Tue Oct 28 21:01:27 2008
New Revision: 145
URL: http://svn.gnome.org/viewvc/rygel?rev=145&view=rev

Log:
Put the code and message from exception caught on the action error.

Modified:
   trunk/ChangeLog
   trunk/src/media-server/gupnp-content-directory.vala

Modified: trunk/src/media-server/gupnp-content-directory.vala
==============================================================================
--- trunk/src/media-server/gupnp-content-directory.vala	(original)
+++ trunk/src/media-server/gupnp-content-directory.vala	Tue Oct 28 21:01:27 2008
@@ -148,7 +148,7 @@
 
             action.return ();
         } catch (Error error) {
-            action.return_error (701, "No such object");
+            action.return_error (error.code, error.message);
         }
 
         /* Reset the parser state */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]