]> git.donarmstrong.com Git - mothur.git/blobdiff - groupmap.cpp
added logfile feature
[mothur.git] / groupmap.cpp
index 38addc92f41487c3b715c7c7cbb7f03443dda24a..dd6f924ccdf661f4c376020e7f5459bc840cf895 100644 (file)
@@ -81,11 +81,7 @@ bool GroupMap::isValidGroup(string groupname) {
                return false;
        }
        catch(exception& e) {
-               cout << "Standard Error: " << e.what() << " has occurred in the GroupMap class Function isValidGroup. Please contact Pat Schloss at pschloss@microbio.umass.edu." << "\n";
-               exit(1);
-       }
-       catch(...) {
-               cout << "An unknown error has occurred in the GroupMap class function isValidGroup. Please contact Pat Schloss at pschloss@microbio.umass.edu." << "\n";
+               errorOut(e, "GroupMap", "isValidGroup");
                exit(1);
        }
 }