• 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
Name
Last commit
Last update
..
migrations Loading commit data...
translate Loading commit data...
client.go Loading commit data...
conn.go Loading commit data...
conn_postgres.go Loading commit data...
conn_sqlite3.go Loading commit data...
conn_test.go Loading commit data...
connector_config.go Loading commit data...
db.go Loading commit data...
gc.go Loading commit data...
gc_test.go Loading commit data...
health.go Loading commit data...
key.go Loading commit data...
key_test.go Loading commit data...
migrate.go Loading commit data...
migrate_sqlite3.go Loading commit data...
migrate_test.go Loading commit data...
password.go Loading commit data...
refresh.go Loading commit data...
refresh_test.go Loading commit data...
session.go Loading commit data...
session_key.go Loading commit data...
user.go Loading commit data...