Add log to leave string length 41/226341/1
authorwn.jang <wn.jang@samsung.com>
Mon, 2 Mar 2020 02:04:19 +0000 (11:04 +0900)
committerwn.jang <wn.jang@samsung.com>
Mon, 2 Mar 2020 02:04:19 +0000 (11:04 +0900)
Change-Id: I1bce7041e23c2e0f5854207cd79574d203eca918

client/tts.c

index 8b2c42b..47b48ed 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;
                }