• Eric Chiang's avatar
    db: print better error messages for invalid input · 5c5df23a
    Eric Chiang authored
    When client secrets are not base64 encoded, print an error message
    that's not a generic base64 decode error:
    
       client secrets must be base64 decodable. See issue #337.
       Please consider replaceing "secret" with "c2VjcmV0"
    
    When a user file is missing a mandatory field print an error message.
    
    	Unable to build Server: user elroy-foo is missing email field
    
    For #400
    5c5df23a
client.go 6.72 KB