json: Remove extraneous try/catch
To mediate catching JSON parsing exception after the compatible
interface is already available an extraneous try/catch can be removed so
any JSON parsing exceptions cause the fan apps to crash.
A follow up commit will better handle exceptions, such as JSON parsing
exceptions, in relation to catching and handling the exception thrown
when no config file is able to loaded (whether thru the compatible
interface or not).
Tested:
JSON exception not caught with compatible interface on dbus
Fan control waits for compatible interface when not on dbus and
JSON exception not caught after compatible interface appears on dbus
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
Change-Id: I683c7bb807319f7f0a175fd4c92e573c220bdec5
1 file changed