Island: Change error -> message in AgentConfiguration resource

This commit is contained in:
Mike Salvatore 2022-06-27 09:30:33 -04:00
parent 08bac8ef39
commit b49dfcf79d
1 changed files with 1 additions and 1 deletions

View File

@ -30,6 +30,6 @@ class AgentConfiguration(AbstractResource):
return make_response({}, 200)
except (InvalidConfigurationError, json.JSONDecodeError) as err:
return make_response(
{"message": f"Invalid configuration supplied: {err}"},
{"error": f"Invalid configuration supplied: {err}"},
400,
)