Commit 546e3bc
committed
Fix fetching of protocol paramters if they are not specified in config and if file is not present
Previously we would only fetch the file if JSON.decode returned a Left, however if the file is not present an IOError
will be thrown and the code to fetch the file through the CLI was never being executed
Change-type: patch
Signed-off-by: Giovanni Garufi <giovanni@mlabs.city>1 parent 33fabb8 commit 546e3bc
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| |||
276 | 277 | | |
277 | 278 | | |
278 | 279 | | |
279 | | - | |
| 280 | + | |
280 | 281 | | |
281 | 282 | | |
282 | 283 | | |
| |||
0 commit comments