Skip to content

Handle more errors by logging them #1

Description

@code-cro

Do error handing for Tcp connection.

let mut client = TcpStream::connect(&service_address.url).await.unwrap();

Do error handling when serializing Request object with to_string_pretty method.

let json = serde_json::to_string_pretty(&self).unwrap();

Activity

  1. self-assigned this
    on Dec 30, 2021
  2. changed the title [-]Extend logging coverage[/-] [+]Handle more errors by logging them[/+] on Dec 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions