Added dbus error register for dbus error invocation
[platform/core/connectivity/net-config.git] / src / wifi-config.c
index 84a64a6..afa0382 100755 (executable)
@@ -915,8 +915,8 @@ gboolean handle_get_config_ids(Wifi *wifi, GDBusMethodInvocation *context)
 
        config_ids = _get_list();
        if (config_ids == NULL) {
-               netconfig_error_no_profile(context);
                ERR("Fail to get config list");
+               netconfig_error_no_profile(context);
                return FALSE;
        }