Skip to content

Commit

Permalink
separate long error log into multiple lines
Browse files Browse the repository at this point in the history
  • Loading branch information
georgemccabe committed Oct 18, 2023
1 parent de350ce commit ffb2f19
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions metplus/util/config_validate.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,13 +197,17 @@ def check_for_deprecated_met_config_file(config, met_config, met_tool):
"Please set values that differ from the defaults in a METplus "
f"config file and unset {met_tool}_CONFIG_FILE to use the "
"wrapped MET config that is provided with the METplus wrappers."
f" Compare values set in {met_config} to {default_path}. "
)
config.logger.error(
f"Compare values set in {met_config} to {default_path}"
)
config.logger.error(
"See https://metplus.readthedocs.io/en/latest/Users_Guide/"
"release-notes.html#metplus-wrappers-upgrade-instructions"
" for more information."
)
return False

################################################################################
return True


Expand Down

0 comments on commit ffb2f19

Please sign in to comment.