daemon: Don't display error when graph dict has no value for the requested key

This error is annoying because currently it is logged twice for each new app (x and y keys).
This commit is contained in:
Nedko Arnaudov 2010-05-29 13:12:19 +03:00
parent d5c7bf6a6c
commit de47286bbd
1 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
/*
* LADI Session Handler (ladish)
*
* Copyright (C) 2009 Nedko Arnaudov <nedko@arnaudov.name>
* Copyright (C) 2009, 2010 Nedko Arnaudov <nedko@arnaudov.name>
*
**************************************************************************
* This file contains interface to the D-Bus graph dict interface helpers
@ -145,7 +145,7 @@ void ladish_dict_get_dbus(struct dbus_method_call * call_ptr)
value = ladish_dict_get(dict, key);
if (value == NULL)
{
lash_dbus_error(call_ptr, LASH_DBUS_ERROR_KEY_NOT_FOUND, "Key '%s' not found", key);
//lash_dbus_error(call_ptr, LASH_DBUS_ERROR_KEY_NOT_FOUND, "Key '%s' not found", key);
return;
}