Island: Return string from IslandLog's GET instead of dict with redundant info

This commit is contained in:
Shreya Malviya 2022-08-02 12:27:22 +05:30
parent 7967974c9d
commit 29646ecf43
1 changed files with 1 additions and 1 deletions

View File

@ -17,6 +17,6 @@ class IslandLog(AbstractResource):
@jwt_required @jwt_required
def get(self): def get(self):
try: try:
return {"log_file": get_log_file_contents(self._island_log_file_path)} return get_log_file_contents(self._island_log_file_path)
except Exception: except Exception:
logger.error("Monkey Island logs failed to download", exc_info=True) logger.error("Monkey Island logs failed to download", exc_info=True)