GNOME Bugzilla – Bug 678502
Util: fix error handling in trySpawn
Last modified: 2012-06-21 16:29:46 UTC
Error rewriting code used an old version of the gjs GError support, and set a readonly .message property.
Created attachment 216874 [details] [review] Util: fix error handling in trySpawn
Review of attachment 216874 [details] [review]: I'd make the commit message "Update trySpawn to new gjs GError mapping" The old code was really a workaround relying on the implementation details of how gjs_invoke_c_function() dealt with GErrors.
I don't even know why we're doing the special mangling. We should probably just take it out.
I don't why the mangling is there either, but for now let's restore what we were doing before the gjs GError merge.