diff options
Diffstat (limited to 'host/lib/rfnoc/block_id.cpp')
-rw-r--r-- | host/lib/rfnoc/block_id.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/host/lib/rfnoc/block_id.cpp b/host/lib/rfnoc/block_id.cpp index c33e1464c..1cef4c9c8 100644 --- a/host/lib/rfnoc/block_id.cpp +++ b/host/lib/rfnoc/block_id.cpp @@ -22,7 +22,8 @@ block_id_t::block_id_t(const std::string& block_str) : _device_no(0), _block_name(""), _block_ctr(0) { if (not set(block_str)) { - throw uhd::value_error("block_id_t: Invalid block ID string."); + throw uhd::value_error( + "block_id_t: Invalid block ID string: `" + block_str + "'"); } } |