Skip to content

Commit

Permalink
Improve exception message
Browse files Browse the repository at this point in the history
  • Loading branch information
lamyj committed Aug 12, 2016
1 parent 1bfe8f3 commit e099640
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/odil/VR.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<int>(vr)));
}
}

Expand Down

0 comments on commit e099640

Please sign in to comment.