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

REST: For enumerate, return the error in JSON



The only way enumerate can fail is if the GetSubTree 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: Ie68761c3ee67aa337761567b8a76bd9c9ebddc19
Signed-off-by: default avatarMatt Spinler <spinler@us.ibm.com>
parent 2df1e7db
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