Skip to content

[Bug]: client.get_requester() doesn't always work #456

@redspacecat

Description

@redspacecat

scratchattach version

2.1.13

What happened?

Sometimes when calling client.get_requester() it returns None.

It seems that this is because in load_log_data of CloudActivity the matching list doesn't find any matches because the timestamp doesn't account for the time it takes to fetch the cloud logs.

Your code.

@client.request
def example():
    return client.get_requester()

Traceback

none

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions