diff --git a/src/common_io.c b/src/common_io.c index 2051d682e8ee9df6ed627b21d21fd58ca8ae7cc5..5c2aba0377f2b39dbc782bb69778780db2fc2856 100644 --- a/src/common_io.c +++ b/src/common_io.c @@ -884,7 +884,9 @@ void io_check_output_fields(const struct swift_params* output_fields, continue; } } - if (!found) error("Unable to find field corresponding to %s", param_name); + if (!found) + error("Unable to find field corresponding to %s in %s", + param_name, output_fields->fileName); } } }