Handle QueryRuntimeException in AM-REPL
Reviewers: florijan Reviewed By: florijan Differential Revision: https://phabricator.memgraph.io/D250
This commit is contained in:
parent
aca6b8f38b
commit
64d0163aad
@ -188,6 +188,8 @@ void query::Repl(Dbms &dbms) {
|
||||
std::cout << "SYNTAX EXCEPTION: " << e.what() << std::endl;
|
||||
} catch (const query::SemanticException &e) {
|
||||
std::cout << "SEMANTIC EXCEPTION: " << e.what() << std::endl;
|
||||
} catch (const query::QueryRuntimeException &e) {
|
||||
std::cout << "RUNTIME EXCEPTION: " << e.what() << std::endl;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user