Index: src/mod/formats/mod_sndfile/mod_sndfile.c =================================================================== --- src/mod/formats/mod_sndfile/mod_sndfile.c (revision 7960) +++ src/mod/formats/mod_sndfile/mod_sndfile.c (working copy) @@ -156,6 +156,8 @@ static switch_status_t sndfile_file_open switch_snprintf(next, alt_len - (last - alt_path), "%d%s%s", handle->samplerate, SWITCH_PATH_SEPARATOR, ldup); if ((context->handle = sf_open(alt_path, mode, &context->sfinfo))) { path = alt_path; + } else { + switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Error Opening File [%s] [%s]\n", alt_path, sf_strerror(context->handle)); } }