Adds profile name and line number to error messages during configuration save in the format: [profile_name]:##, or in the case that the profile name is not in the line (such as invalid parameter definition), grabs the value of the line: [line_value]:##
Adds profile name and line number to error messages during configuration save in the format:
[profile_name]:##
, or in the case that the profile name is not in the line (such as invalid parameter definition), grabs the value of the line:[line_value]:##
Addresses https://github.com/tilfinltd/aws-extend-switch-roles/issues/338 as I have run into the same issue multiple times.
Affects only ConfigLoadError/IniParseError that already supply a line-number from aesr-config:
role_arn
and eitheraws_account_id
orrole_name
."role_arn
parameter."Tested in Chrome and Firefox on MacOS 14.4.1 with the same results.