Merge "Add log to leave string length" into tizen
authorWonnam Jang <wn.jang@samsung.com>
Mon, 2 Mar 2020 04:27:27 +0000 (04:27 +0000)
committerGerrit Code Review <gerrit@review.ap-northeast-2.compute.internal>
Mon, 2 Mar 2020 04:27:27 +0000 (04:27 +0000)
client/tts.c

index abf38e1..1637606 100644 (file)
@@ -1408,7 +1408,7 @@ int tts_add_text(tts_h tts, const char* text, const char* language, int voice_ty
        } else {
                SLOG(LOG_DEBUG, TAG_TTSC, "[DEBUG] g_max_text_size is %d", g_max_text_size);
                if (g_max_text_size < strlen(text) || strlen(text) <= 0) {
-                       SLOG(LOG_ERROR, TAG_TTSC, "[ERROR] Input text size is invalid.");
+                       SLOG(LOG_ERROR, TAG_TTSC, "[ERROR] Input text size is invalid. current text_size(%d)", strlen(text));
                        SLOG(LOG_DEBUG, TAG_TTSC, "@@@");
                        return TTS_ERROR_INVALID_PARAMETER;
                }