Commit 91b181d4 by Zhi Committed by Jared Roesch

[relay][vm] remove throw in destructor (#3215)

parent 4474bfb9
......@@ -226,8 +226,8 @@ Instruction::~Instruction() {
return;
default:
std::ostringstream out;
out << "Invalid instruction " << static_cast<int>(this->op);
throw std::runtime_error(out.str());
LOG(FATAL) << "Invalid instruction " << static_cast<int>(this->op)
<< "\n";
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment