[0.3.98] add log about server ret 01/186001/1
authorEunhae Choi <eunhae1.choi@samsung.com>
Mon, 6 Aug 2018 10:22:56 +0000 (19:22 +0900)
committerEunhae Choi <eunhae1.choi@samsung.com>
Mon, 6 Aug 2018 10:22:56 +0000 (19:22 +0900)
Change-Id: Ib95b3d3257d482865ed352ca49e44ba844cbe7b6

src/player.c

index f289d7db99140c9f53439edd6bb8dbede435a398..75e631bbb7623079d7025b2d50e9ad23371d7ace 100644 (file)
@@ -1803,6 +1803,9 @@ int client_wait_for_cb_return(muse_player_api_e api, callback_cb_info_s * cb_inf
                        g_free(msg);
                        if (!player_msg_get(ret, *ret_buf))
                                ret = PLAYER_ERROR_INVALID_OPERATION;
+                       else if (ret != PLAYER_ERROR_NONE)
+                               LOGE("Get error return from server 0x%X", ret);
+
                } else {
                        LOGE("api %d is the spurious wakeup", api);
                }