pomelo-io / bounties-issues-dev

Dev repo for bounties
0 stars 0 forks source link

💰 0 USDT Bounty - "Test issue for a bounty222" #97

Open PomeloBounties opened 8 months ago

PomeloBounties commented 8 months ago

Bounty

Test issue for a bounty222 created by @PomeloBounties on Pomelo Bounties

Summary

Solve a test issue for a bounty by debugging and writing code to handle errors in the given code snippet. The code should handle a 404 error response from the Github API by returning a custom error. The result should be in English.

Apply

https://bounties.pomelo.io/bcc4f142b3a3

Original Issue

https://github.com/PomeloBounties/test/issues/8

Title

Test issue for a bounty

Body

Please solve this for me:

    issue, _, err := g.client.Issues.Get(ctx, owner, repo, issueNumber)
    if err != nil {
        if e, ok := err.(*github.ErrorResponse); ok {
            if e.Response.StatusCode == 404 {
                return "", "", ErrGithubIssueNotFound
            }
        }
        return "", "", err
    }

Thanks!

Reward

0.0500 USDT

Note

For technical discussion use the original issue. This issue is for tracking the bounty application and implementation progress.

PomeloBounties commented 8 months ago

Bounty funded with 0.0500 USDT!

Apply here

PomeloBounties commented 8 months ago

Bounty application submitted by @YaroShkvorets with a message:

N/A

Waiting for your approval @PomeloBounties

PomeloBounties commented 8 months ago

Bounty application approved. Good luck @YaroShkvorets!

PomeloBounties commented 8 months ago

Bounty work submitted by @YaroShkvorets with a message:

submitting work so I can forfeit later

Waiting for your approval @PomeloBounties!

PomeloBounties commented 8 months ago

Bounty application submitted by @YaroShkvorets with a message:

i want to try again!

Waiting for your approval @PomeloBounties

PomeloBounties commented 8 months ago

Bounty application approved. Good luck @YaroShkvorets!

PomeloBounties commented 8 months ago

Bounty work submitted by @YaroShkvorets with a message:

here's my work

Waiting for your approval @PomeloBounties!

PomeloBounties commented 8 months ago

Bounty forfeited by @YaroShkvorets with a message:

changed my mind again!

PomeloBounties commented 8 months ago

Bounty application submitted by @YaroShkvorets with a message:

adsf

Waiting for your approval @PomeloBounties

PomeloBounties commented 8 months ago

Bounty application approved. Good luck @YaroShkvorets!

PomeloBounties commented 8 months ago

Bounty forfeited by @YaroShkvorets with a message:

changed my mind again!

PomeloBounties commented 8 months ago

Bounty application submitted by @YaroShkvorets with a message:

asdfasdfa

Waiting for your approval @PomeloBounties

PomeloBounties commented 8 months ago

Bounty application approved. Good luck @YaroShkvorets!

PomeloBounties commented 8 months ago

Bounty forfeited by @YaroShkvorets with a message:

changed my mind again!

PomeloBounties commented 8 months ago

Bounty application submitted by @YaroShkvorets with a message:

testing email subject

Waiting for your approval @PomeloBounties

PomeloBounties commented 8 months ago

Bounty application submitted by @UrsaPolarisRecords with a message:

hello

Waiting for your approval @PomeloBounties

PomeloBounties commented 6 months ago

Bounty application submitted by @UrsaPolarisRecords with a message:

Sending application

Waiting for your approval @PomeloBounties