Commit bada4b1c authored by Michael Smith's avatar Michael Smith

Make a debug message into a warning message, so it'll be logged more often

(since it's useful), and make it print out the file that it failed to find,
so that users can figure out what to do.


svn path=/icecast/trunk/icecast/; revision=8934
parent 533dfb6b
......@@ -105,7 +105,8 @@ static xsltStylesheetPtr xslt_get_stylesheet(const char *fn) {
struct stat file;
if(stat(fn, &file)) {
DEBUG1("Error checking for stylesheet file: %s", strerror(errno));
WARN2("Error checking for stylesheet file \"%s\": %s", fn,
strerror(errno));
return NULL;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment