aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2021-05-05 10:47:50 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2021-05-05 10:47:50 +0200
commit052450fb9462a185341616b9e7c6193cd305b187 (patch)
tree996da00a0e4647d201fbf48cadbcd5bae1f46b24
parentf2a70d0cfe95de89dbc2b85aedec1f985891c459 (diff)
downloaddabmux-052450fb9462a185341616b9e7c6193cd305b187.tar.gz
dabmux-052450fb9462a185341616b9e7c6193cd305b187.tar.bz2
dabmux-052450fb9462a185341616b9e7c6193cd305b187.zip
Make EDI input URI parse error more verbose
-rw-r--r--src/input/Edi.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input/Edi.cpp b/src/input/Edi.cpp
index 2aa776f..e206f28 100644
--- a/src/input/Edi.cpp
+++ b/src/input/Edi.cpp
@@ -104,7 +104,7 @@ void Edi::open(const std::string& name)
m_tcp_receive_server.start(tcp_port, addr);
}
else {
- throw runtime_error("Cannot parse EDI input URI");
+ throw runtime_error(string("Cannot parse EDI input URI '") + name + "'");
}
m_stats.registerAtServer();