Changeset 2681

Show
Ignore:
Timestamp:
03/27/17 03:01:35 (1 month ago)
Author:
jwoithe
Message:

configuration parser: provide extra information when parsing of the configuration file fails. Patch from Xavier Forestier.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/libffado/src/libutil/Configuration.cpp

    r2651 r2681  
    6565                return false; 
    6666            } catch (ParseException& e) { 
    67                 debugWarning("Could not parse file: %s\n", filename.c_str()); 
     67                debugWarning("Could not parse file: %s\nError: %s, Line: %i, What: %s", filename.c_str(), e.getError(), e.getLine(), e.what()); 
    6868                delete c; 
    6969                return false;