Code indexing in gitaly is broken and leads to code not being visible to the user. We work on the issue with highest priority.

Skip to content
Snippets Groups Projects
Commit f8f3e862 authored by Adelmann Andreas's avatar Adelmann Andreas
Browse files

remove abort

parent 1a9033fa
No related branches found
No related tags found
No related merge requests found
......@@ -645,11 +645,7 @@ void IpplInfo::abort(const char *msg, int exitcode) {
}
// that's it, folks
if (exitcode < 0)
::abort();
else
::exit(exitcode);
throw std::runtime_error("Error form IpplInfo::abort");
}
......@@ -676,9 +672,8 @@ void IpplInfo::abortAllNodes(const char *msg, bool abortThisNode) {
if (getNodes() > 1)
Comm->broadcast_others(new Message, IPPL_ABORT_TAG);
// Now quit ourselves, if necessary
if (abortThisNode)
::abort();
throw std::runtime_error("Error form IpplInfo::abortAllNodes");
}
void IpplInfo::exitAllNodes(const char *msg, bool exitThisNode) {
......
// ------------------------------------------------------------------------
// $RCSfile: OpalParser.cpp,v $
// ------------------------------------------------------------------------
......@@ -594,7 +595,7 @@ void OpalParser::run() const {
ERRORMSG("\n*** Runtime-error ******************\n");
ERRORMSG(ex.what());
ERRORMSG("\n************************************\n" << endl);
abort();
throw std::runtime_error("in Parser");
} catch(exception &ex) {
*gmsg << "\n*** Error:\n";
stat->printWhere(false);
......@@ -607,7 +608,7 @@ void OpalParser::run() const {
*gmsg << " ";
stat->print();
*gmsg << " Unexpected exception caught.\n" << endl;
abort();
throw std::runtime_error("in Parser");
}
delete stat;
......@@ -625,4 +626,4 @@ void OpalParser::run(TokenStream *is) const {
void OpalParser::stop() const {
stopFlag = true;
}
\ No newline at end of file
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment