Commit a2525948 authored by Leo P. Singer's avatar Leo P. Singer
Browse files

Set GraceDb fail_if_noauth=True

This will give us earlier and more comprehensible error messages if
the GraceDb client is not authenticated.
parent 088c7199
......@@ -12,7 +12,7 @@ from ..util import PromiseProxy
client = PromiseProxy(rest.GraceDb,
('https://' + app.conf.gracedb_host + '/api/',),
{'reload_certificate': True})
{'fail_if_noauth': True, 'reload_certificate': True})
log = get_task_logger(__name__)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment