From 4f3ba0218652cc76cec4bcb1d116787eb31845c3 Mon Sep 17 00:00:00 2001 From: Daniel De Graaf Date: Sun, 4 Jul 2010 18:56:39 -0400 Subject: Include location of duplicated oper blocks --- src/configreader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/configreader.cpp') diff --git a/src/configreader.cpp b/src/configreader.cpp index c0e9b5992..c93bbd41f 100644 --- a/src/configreader.cpp +++ b/src/configreader.cpp @@ -234,7 +234,7 @@ void ServerConfig::CrossCheckOperClassType() if (tblk == oper_blocks.end()) throw CoreException("Oper block " + name + " has missing type " + type); if (oper_blocks.find(name) != oper_blocks.end()) - throw CoreException("Duplicate oper block with name " + name); + throw CoreException("Duplicate oper block with name " + name + " at " + tag->getTagLocation()); OperInfo* ifo = new OperInfo; ifo->name = type; -- cgit v1.3.1-10-gc9f91