Changeset 8186


Ignore:
Timestamp:
2004-09-30T01:45:03+12:00 (20 years ago)
Author:
cs025
Message:

Added failure error message when the corba server cannot find valid
Greenstone configuration information or is otherwise unable to read
collections.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/colservr/corbaServer.mpp

    r3061 r8186  
    9494    dirname = filename_cat(gsdlhome, "/collect");
    9595    cdirname = dirname.getcstr();
    96     if (!read_dir (cdirname, collections)) exit (1);
     96    if (!read_dir (cdirname, collections)) {
     97      cout << "Unable to read the gsdl directory; terminating" << endl;
     98      exit (1);
     99    }
    97100    delete cdirname;
    98101
Note: See TracChangeset for help on using the changeset viewer.