Skip to content

Bugs for stopped pm2 items #2

@hccz95

Description

@hccz95

In pm2/__init__.py Line 68-73:

    def __init__(self, json_data: dict) -> None:
        self.name = json_data["name"]
        if json_data["pid"]:
            self.pid = json_data["pid"]
        if json_data["pm_id"]:
            self.pm_id = json_data["pm_id"]

When pm2 has some stopped items those have no pids, if json_data["pid"] report bugs!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions