From 1e94401ec6d26e31f2c963dc85f55d3239667f59 Mon Sep 17 00:00:00 2001 From: bangerth Date: Fri, 27 Apr 2012 13:06:17 +0000 Subject: [PATCH] Be more verbose in an error message. git-svn-id: https://svn.dealii.org/trunk@25461 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/source/base/data_out_base.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/deal.II/source/base/data_out_base.cc b/deal.II/source/base/data_out_base.cc index a18a1e83cc..e367ecf4ce 100644 --- a/deal.II/source/base/data_out_base.cc +++ b/deal.II/source/base/data_out_base.cc @@ -2153,7 +2153,8 @@ parse_output_format (const std::string &format_name) return deal_II_intermediate; AssertThrow (false, - ExcMessage ("The given file format name is not recognized.")); + ExcMessage ("The given file format name is not recognized: <" + + format_name + ">")); // return something invalid return OutputFormat(-1); -- 2.39.5