From: bangerth Date: Fri, 27 Apr 2012 13:06:17 +0000 (+0000) Subject: Be more verbose in an error message. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1e94401ec6d26e31f2c963dc85f55d3239667f59;p=dealii-svn.git Be more verbose in an error message. git-svn-id: https://svn.dealii.org/trunk@25461 0785d39b-7218-0410-832d-ea1e28bc413d --- 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);