From: Michael Jerris Date: Wed, 12 Nov 2008 13:41:18 +0000 (+0000) Subject: better error message. X-Git-Tag: v1.0.2~556 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=90f79c3f0d550e11fcb96f14533fedb5b8fd10bf;p=thirdparty%2Ffreeswitch.git better error message. git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10356 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/switch_core_file.c b/src/switch_core_file.c index 7afb01099c..5614ffebae 100644 --- a/src/switch_core_file.c +++ b/src/switch_core_file.c @@ -56,7 +56,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_perform_file_open(const char *file, file_path = rhs + 3; } else { if ((ext = strrchr(file_path, '.')) == 0) { - switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Invalid Format\n"); + switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Unknown file Format [%s]\n", file_path); return SWITCH_STATUS_FALSE; } ext++;