diff --git a/confutils.nim b/confutils.nim index cb14b56..d20d46e 100644 --- a/confutils.nim +++ b/confutils.nim @@ -812,9 +812,9 @@ proc load*(Configuration: type, fieldSetters[setterIdx][1](confAddr[], some(cmdLineVal)) inc fieldCounters[setterIdx] except: - fail("Error while processing the '", - fgOption, fieldSetters[setterIdx][0], resetStyle, - "' parameter: " & + fail("Error while processing the ", + fgOption, fieldSetters[setterIdx][0], + "=", cmdLineVal.string, resetStyle, " parameter: ", getCurrentExceptionMsg()) when hasCompletions: