Skip to content
Commit d6091ddd authored by Matt Spinler's avatar Matt Spinler Committed by Ed Tanous
Browse files

REST: For list, return the error in JSON



The only way list can fail is if the GetSubTreePaths call fails,
and that will only happen if the path isn't a valid D-Bus object.

In that case, return the standard REST error JSON response for
org.freedesktop.DBus.Error.FileNotFound.

Change-Id: I538d3132552590e51f9ede80762aee00c59cb3e9
Signed-off-by: default avatarMatt Spinler <spinler@us.ibm.com>
parent dc2f9f11
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment