forked from p15670423/monkey
Island: Return string from IslandLog's GET instead of dict with redundant info
This commit is contained in:
parent
7967974c9d
commit
29646ecf43
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue