Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
IRMA
Github mirrors
irmago
Commits
b3f1e2dc
Commit
b3f1e2dc
authored
Dec 15, 2017
by
Bas Westerbaan
Browse files
irmaconfig: be a bit more verbose on some errors
parent
d2f901ef
Changes
1
Hide whitespace changes
Inline
Side-by-side
irmaconfig.go
View file @
b3f1e2dc
...
...
@@ -615,7 +615,7 @@ func (i SchemeManagerIndex) FromString(s string) error {
func
(
conf
*
Configuration
)
parseIndex
(
name
string
,
manager
*
SchemeManager
)
error
{
path
:=
filepath
.
Join
(
conf
.
path
,
name
,
"index"
)
if
err
:=
fs
.
AssertPathExists
(
path
);
err
!=
nil
{
return
errors
.
New
(
"Missing scheme manager index file
"
)
return
fmt
.
Errorf
(
"Missing scheme manager index file
; tried %s"
,
path
)
}
indexbts
,
err
:=
ioutil
.
ReadFile
(
path
)
if
err
!=
nil
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment