Skip to content

logging: fetch errors not handled when getting slot number from consensus client #13708

@alexghr

Description

@alexghr

An error should be logged here:

if (res.ok) {
const body = await res.json();
// Add one to get the slot number of the original block hash
return Number(body.data.header.message.slot) + 1;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions