]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
tweak from chrisdan
authorBrian West <brian@freeswitch.org>
Sat, 12 Jul 2008 18:46:54 +0000 (18:46 +0000)
committerBrian West <brian@freeswitch.org>
Sat, 12 Jul 2008 18:46:54 +0000 (18:46 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9005 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/asr_tts/mod_pocketsphinx/mod_pocketsphinx.c

index 3cc5d54a796dfd003f7b9250d049f1333a164653..9b898d8f3c0a84f1dadc90ce6186d8a1108364e4 100644 (file)
@@ -125,12 +125,12 @@ static switch_status_t pocketsphinx_asr_load_grammar(switch_asr_handle_t *ah, co
        model = switch_mprintf("%s%smodel%s%s", SWITCH_GLOBAL_dirs.grammar_dir, SWITCH_PATH_SEPARATOR, SWITCH_PATH_SEPARATOR, globals.model);
 
        if (switch_file_exists(dic, ah->memory_pool) != SWITCH_STATUS_SUCCESS) {
-               switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Can't open dictionary.\n"); 
+               switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Can't open dictionary %s.\n", dic); 
                goto end;
        }
 
        if (switch_file_exists(lm, ah->memory_pool) != SWITCH_STATUS_SUCCESS) {
-               switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "Can't open language model.\n"); 
+               switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "Can't open language model %s.\n", model); 
                goto end;
        }