diff options
author | Philippe Nunes <philippe.nunes@linux.intel.com> | 2012-08-22 18:18:22 +0200 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2012-08-22 18:18:05 -0500 |
commit | c7b359ae98f9781c10bee68d8f645300ec0267ff (patch) | |
tree | b0a3399073022e72acd9fa81f2c7ac309a279f0f /src/call-settings.c | |
parent | 2638408135195fcc2027ec29553aac883002dd66 (diff) | |
download | ofono-c7b359ae98f9781c10bee68d8f645300ec0267ff.tar.bz2 |
call-settings: Improve error reporting
Report error based on the error reported by the driver.
Diffstat (limited to 'src/call-settings.c')
-rw-r--r-- | src/call-settings.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/call-settings.c b/src/call-settings.c index 4bfb561a..51f96bf4 100644 --- a/src/call-settings.c +++ b/src/call-settings.c @@ -726,9 +726,10 @@ static void clir_ss_query_callback(const struct ofono_error *error, const char *value; if (error->type != OFONO_ERROR_TYPE_NO_ERROR) { - DBG("setting clir via SS failed"); + DBG("clir query via SS failed with error: %s", + telephony_error_to_str(error)); __ofono_dbus_pending_reply(&cs->pending, - __ofono_error_failed(cs->pending)); + __ofono_error_from_error(error, cs->pending)); return; } |