Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cardano-wallet-jormungandr: tweak error message style #886

Merged
merged 2 commits into from
Oct 23, 2019

Conversation

rvl
Copy link
Contributor

@rvl rvl commented Oct 23, 2019

Relates to #848.

Overview

Addresses this review comment from @piotr-iohk on #862.

@rvl rvl requested a review from piotr-iohk October 23, 2019 01:39
@rvl rvl self-assigned this Oct 23, 2019
@KtorZ
Copy link
Member

KtorZ commented Oct 23, 2019

bors r+

iohk-bors bot added a commit that referenced this pull request Oct 23, 2019
880: Jormungandr 0.7.0 r=KtorZ a=piotr-iohk

# Issue Number


# Overview

<!-- Detail in a few bullet points the work accomplished in this PR -->

- [ ] ~Jormungandr 0.7.0-alpha.dev~
- [ ] Jormungandr 0.7.0-alpha.dev.1


# Comments

It works fine with `jormungandr + cardano-wallet-jormungandr serve` but doesn't work with launch...
```
$cardano-wallet-jormungandr launch --genesis-block block0.bin -- --secret secret.yaml

[iohk.cardano-wallet:Info:ThreadId 4] [2019-10-22 09:55:55.38 UTC] Using directory: /home/piotr/.local/share/cardano-wallet/jormungandr/testnet
[iohk.cardano-wallet:Info:ThreadId 4] [2019-10-22 09:55:55.38 UTC] Using directory: /home/piotr/.local/share/cardano-wallet/jormungandr/testnet/wallets
[iohk.cardano-wallet:Info:ThreadId 4] [2019-10-22 09:55:55.38 UTC] Running as v2019.10.16
[iohk.cardano-wallet:Info:ThreadId 4] [2019-10-22 09:55:55.38 UTC] Wallet backend server starting...
[iohk.cardano-wallet:Info:ThreadId 4] [2019-10-22 09:55:55.38 UTC] Node is Jörmungandr on testnet
[iohk.cardano-wallet:Info:ThreadId 4] [2019-10-22 09:55:55.38 UTC] Generated Jörmungandr's configuration to: /home/piotr/.local/share/cardano-wallet/jormungandr/testnet/jormungandr-config.yaml
[iohk.cardano-wallet:Notice:ThreadId 4] [2019-10-22 09:55:55.39 UTC] Starting process jormungandr
     --genesis-block block0.bin
     --config /home/piotr/.local/share/cardano-wallet/jormungandr/testnet/jormungandr-config.yaml
     --log-level info
     --secret secret.yaml

[iohk.cardano-wallet.jormungandr.14208:Info:ThreadId 4] [2019-10-22 09:55:55.39 UTC] Process jormungandr started with pid 14208
Oct 22 11:55:55.396 INFO Starting jormungandr 0.7.0-alpha.dev (HEAD-61fa897, release, linux [x86_64]) - [rustc 1.38.0 (625451e37 2019-09-23)], task: init
Oct 22 11:55:55.396 INFO Starting 1 workers, scope: global
Oct 22 11:55:55.396 INFO Starting server on 127.0.0.1:33671, scope: global
Oct 22 11:55:55.397 INFO storing blockchain in '"/home/piotr/.local/share/cardano-wallet/jormungandr/testnet/chain/blocks.sqlite"', task: init
Oct 22 11:55:55.406 ERRO Error occurred during request handling, status: 503 Service Unavailable Full REST context not available yet, scope: global
cardano-wallet-jormungandr: ErrUnexpectedNetworkFailure (Link {_segments = ["api","v0","block","4c05c5bb1dfa2848a2a36249b28d97ef8e6c77c7cb1f9626d1c4024c2470a2c2"], _queryParams = []}) (FailureResponse (Response {responseStatusCode = Status {statusCode = 503, statusMessage = "Service Unavailable"}, responseHeaders = fromList [("content-length","0"),("date","Tue, 22 Oct 2019 09:55:55 GMT")], responseHttpVersion = HTTP/1.1, responseBody = ""}))


```


886: cardano-wallet-jormungandr: tweak error message style r=KtorZ a=rvl

Relates to #848.

# Overview

Addresses this [review comment](#862 (comment)) from @piotr-iohk on #862.


Co-authored-by: Piotr Stachyra <piotr.stachyra@iohk.io>
Co-authored-by: KtorZ <matthias.benkort@gmail.com>
Co-authored-by: Rodney Lorrimar <rodney.lorrimar@iohk.io>
@iohk-bors
Copy link
Contributor

iohk-bors bot commented Oct 23, 2019

Canceled (will resume)

iohk-bors bot added a commit that referenced this pull request Oct 23, 2019
886: cardano-wallet-jormungandr: tweak error message style r=KtorZ a=rvl

Relates to #848.

# Overview

Addresses this [review comment](#862 (comment)) from @piotr-iohk on #862.


Co-authored-by: Rodney Lorrimar <rodney.lorrimar@iohk.io>
@iohk-bors
Copy link
Contributor

iohk-bors bot commented Oct 23, 2019

Build failed

@KtorZ
Copy link
Member

KtorZ commented Oct 23, 2019

bors r+

iohk-bors bot added a commit that referenced this pull request Oct 23, 2019
886: cardano-wallet-jormungandr: tweak error message style r=KtorZ a=rvl

Relates to #848.

# Overview

Addresses this [review comment](#862 (comment)) from @piotr-iohk on #862.


Co-authored-by: Rodney Lorrimar <rodney.lorrimar@iohk.io>
@iohk-bors
Copy link
Contributor

iohk-bors bot commented Oct 23, 2019

Build failed

@KtorZ
Copy link
Member

KtorZ commented Oct 23, 2019

bors r+

iohk-bors bot added a commit that referenced this pull request Oct 23, 2019
881: Connect Pool DB with Api r=KtorZ a=Anviking

# Issue Number

#713 

# Overview

- [x] I have implemented a `GET /stake-pool` that reads and combines metrics from `Pool.DB`
- [x] TODO: Figure out when we are unsynced
- [ ] TODO: Look for things to test if possible in this PR

# Comments

### Self-node with a very short epoch-length (results are unavailable across epoch boundaries)
![self-node-short-epochs](https://user-images.githubusercontent.com/304423/67398367-d0edc680-f5aa-11e9-86da-ac13337e2a63.gif)

### Testnet syncing which is interrupted and resumed
![testnet-2](https://user-images.githubusercontent.com/304423/67399072-f7f8c800-f5ab-11e9-9fb1-38e8886aeba4.gif)


<!-- Additional comments or screenshots to attach if any -->

<!-- 
Don't forget to:

 ✓ Self-review your changes to make sure nothing unexpected slipped through
 ✓ Assign yourself to the PR
 ✓ Assign one or several reviewer(s)
 ✓ Once created, link this PR to its corresponding ticket
 ✓ Acknowledge any changes required to the Wiki
-->


884: More integration tests for Byron wallets r=KtorZ a=piotr-iohk


# Issue Number

<!-- Put here a reference to the issue this PR relates to and which requirements it tackles -->


# Overview

<!-- Detail in a few bullet points the work accomplished in this PR -->

- [ ] More integration tests for Byron wallets ensuring that Shelley endpoints/CLI cannot manage them


# Comments

<!-- Additional comments or screenshots to attach if any -->

<!-- 
Don't forget to:

 ✓ Self-review your changes to make sure nothing unexpected slipped through
 ✓ Assign yourself to the PR
 ✓ Assign one or several reviewer(s)
 ✓ Once created, link this PR to its corresponding ticket
 ✓ Acknowledge any changes required to the Wiki
-->


886: cardano-wallet-jormungandr: tweak error message style r=KtorZ a=rvl

Relates to #848.

# Overview

Addresses this [review comment](#862 (comment)) from @piotr-iohk on #862.


Co-authored-by: Johannes Lund <johannes.lund@iohk.io>
Co-authored-by: KtorZ <matthias.benkort@gmail.com>
Co-authored-by: Piotr Stachyra <piotr.stachyra@iohk.io>
Co-authored-by: Rodney Lorrimar <rodney.lorrimar@iohk.io>
@iohk-bors
Copy link
Contributor

iohk-bors bot commented Oct 23, 2019

Build failed (retrying...)

iohk-bors bot added a commit that referenced this pull request Oct 23, 2019
884: More integration tests for Byron wallets r=KtorZ a=piotr-iohk


# Issue Number

<!-- Put here a reference to the issue this PR relates to and which requirements it tackles -->


# Overview

<!-- Detail in a few bullet points the work accomplished in this PR -->

- [ ] More integration tests for Byron wallets ensuring that Shelley endpoints/CLI cannot manage them


# Comments

<!-- Additional comments or screenshots to attach if any -->

<!-- 
Don't forget to:

 ✓ Self-review your changes to make sure nothing unexpected slipped through
 ✓ Assign yourself to the PR
 ✓ Assign one or several reviewer(s)
 ✓ Once created, link this PR to its corresponding ticket
 ✓ Acknowledge any changes required to the Wiki
-->


886: cardano-wallet-jormungandr: tweak error message style r=KtorZ a=rvl

Relates to #848.

# Overview

Addresses this [review comment](#862 (comment)) from @piotr-iohk on #862.


Co-authored-by: Piotr Stachyra <piotr.stachyra@iohk.io>
Co-authored-by: Rodney Lorrimar <rodney.lorrimar@iohk.io>
Co-authored-by: KtorZ <matthias.benkort@gmail.com>
@iohk-bors
Copy link
Contributor

iohk-bors bot commented Oct 23, 2019

Build succeeded

@iohk-bors iohk-bors bot merged commit 1ff90b7 into master Oct 23, 2019
@KtorZ KtorZ deleted the rvl/848/tweak-help-text branch October 23, 2019 21:49
@KtorZ KtorZ added this to the Usability & Compatibility milestone Nov 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants