Better wasm http timeout error message

Open Beginner friendly
#187 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
88/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Active
Tech stack
cpp, wasm
Domain
cli

Research direction

Start at src/wasm/stream.cpp around line 288, where the timeout error for git remote operations is shown. Check how the GIT_HTTP_TIMEOUT environment value is read and make the message include the current value when it differs from the default.

Written by the indexing model from the issue text.

Description

enhancement

If a git remote operation times out in the wasm build, we show an error message here: https://github.com/QuantStack/git2cpp/blob/769d2f88dd17219a73e11b87f8a5565966400206/src/wasm/stream.cpp#L288

If the GIT_HTTP_TIMEOUT envvar is set to something other than the default value, we should print this current value.

Dominant language
C++
Stars
6
Forks
5
Avg merge
4h 22m
Merged PRs (30d)
4

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from QuantStack/git2cpp

All issues in QuantStack/git2cpp

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.