We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 563b20e commit 4d38ca3Copy full SHA for 4d38ca3
1 file changed
server/crypto.go
@@ -42,7 +42,7 @@ func CreateAuthenticator(path string, authOptions *AuthOptions) (*Authenticator,
42
var auth Authenticator
43
auth.path = path
44
if err := json.Unmarshal(jsonBytes, &auth); err != nil {
45
- log.Printf("Could not parse .silverbullet.auth.json, resetting")
+ return nil, fmt.Errorf("could not parse %s: %w (remove or fix the file to proceed)", path, err)
46
}
47
if err := auth.init(authOptions); err != nil {
48
return nil, err
0 commit comments