diff --git a/monkey/monkey_island/cc/resources/clear_simulation_data.py b/monkey/monkey_island/cc/resources/clear_simulation_data.py index 749628319..dc0d868b0 100644 --- a/monkey/monkey_island/cc/resources/clear_simulation_data.py +++ b/monkey/monkey_island/cc/resources/clear_simulation_data.py @@ -24,7 +24,7 @@ class ClearSimulationData(AbstractResource): self._credentials_repository.remove_stolen_credentials() except RemovalError as err: make_response( - {"error": f"Error encountered while removing stolen credentials: {err}"}, 400 + {"error": f"Error encountered while removing stolen credentials: {err}"}, 500 ) return make_response({}, 200)