Fix parameter missing error message

Reviewers: buda, teon.banek, msantl

Reviewed By: teon.banek

Subscribers: pullbot

Differential Revision: https://phabricator.memgraph.io/D1436
This commit is contained in:
Matej Ferencevic 2018-06-19 14:52:48 +02:00
parent 2fbf2c7ff4
commit f23c3ce427

View File

@ -68,7 +68,7 @@ Interpreter::Results Interpreter::operator()(
auto param_it = params.find(param_pair.second);
if (param_it == params.end()) {
throw query::UnprovidedParameterError(
fmt::format("Parameter$ {} not provided", param_pair.second));
fmt::format("Parameter ${} not provided", param_pair.second));
}
ctx.parameters_.Add(param_pair.first, param_it->second);
}