Skip to content

Catch KeyError and print informative error message

David Rafferty requested to merge handle_keyerror into master

When a required parameter is missing in the parset, a message like the following is logged:

INFO - rapthor:parset - Reading parset file: rapthor.parset
CRITICAL - rapthor:parset - The parset is missing the required parameter 'dir_working'

Merge request reports

Loading