]> git.donarmstrong.com Git - mothur.git/blobdiff - mothur.cpp
added logfile feature
[mothur.git] / mothur.cpp
index 59837dd72d7dc8dbe76ee3125052461a9e7b580a..0314331287f0de7c466dc5cb4aacedece62fd56a 100644 (file)
@@ -44,11 +44,7 @@ int main(int argc, char *argv[]){
                return 0;
        }
        catch(exception& e) {
-               cout << "Standard Error: " << e.what() << " has occurred in the dotur class Function main. Please contact Pat Schloss at pschloss@microbio.umass.edu." << "\n";
-               exit(1);
-       }
-       catch(...) {
-               cout << "An unknown error has occurred in the dotur class function main. Please contact Pat Schloss at pschloss@microbio.umass.edu." << "\n";
+               errorOut(e, "mothur", "main");
                exit(1);
        }
 }