forked from p15670423/monkey
Island: Change error -> message in AgentConfiguration resource
This commit is contained in:
parent
08bac8ef39
commit
b49dfcf79d
|
@ -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,
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue