Changeset 304 for trunk/bin


Ignore:
Timestamp:
May 11, 2007, 10:42:04 PM (14 years ago)
Author:
Peter Johansson
Message:

added some check if config file is valid fixes #181

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bin/svndigest.cc

    r303 r304  
    7171      exit(-1);
    7272    }
    73     config.load(is);
     73    try {
     74      config.load(is);
     75    }
     76    catch (std::runtime_error e) {
     77      std::cerr << e.what() << std::endl;
     78      exit(-1);
     79    }
    7480    is.close();
    7581  }
Note: See TracChangeset for help on using the changeset viewer.