diff --git a/src/odil/VR.cpp b/src/odil/VR.cpp index eb766744..f127bd9b 100644 --- a/src/odil/VR.cpp +++ b/src/odil/VR.cpp @@ -89,7 +89,7 @@ std::string as_string(VR vr) } catch(std::out_of_range const &) { - throw Exception("Unknown VR"); + throw Exception("Unknown VR: "+std::to_string(static_cast(vr))); } }