Skip to content
Snippets Groups Projects
Commit 233e7182 authored by Steven Murray's avatar Steven Murray
Browse files

Added paramName to Stmt::bindString() exception message

parent 60172a31
No related branches found
No related tags found
No related merge requests found
......@@ -239,7 +239,7 @@ void Stmt::bindString(const std::string &paramName, const optional<std::string>
throw exception::Exception("Stmt does not contain a cached statement");
}
} catch(exception::Exception &ex) {
ex.getMessage().str(std::string(__FUNCTION__) + " failed: " + ex.getMessage().str());
ex.getMessage().str(std::string(__FUNCTION__) + " failed: paramName=" + paramName + ": " + ex.getMessage().str());
throw;
}
}
......
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