Commit a146cb02 authored by Shane Kilkelly's avatar Shane Kilkelly

Add error var

parent aaf8c833
...@@ -469,7 +469,7 @@ if process.env["SHARELATEX_LDAP_URL"] ...@@ -469,7 +469,7 @@ if process.env["SHARELATEX_LDAP_URL"]
if _ldap_search_attribs = process.env["SHARELATEX_LDAP_SEARCH_ATTRIBUTES"] if _ldap_search_attribs = process.env["SHARELATEX_LDAP_SEARCH_ATTRIBUTES"]
try try
JSON.parse(_ldap_search_attribs) JSON.parse(_ldap_search_attribs)
catch catch e
console.error "could not parse SHARELATEX_LDAP_SEARCH_ATTRIBUTES" console.error "could not parse SHARELATEX_LDAP_SEARCH_ATTRIBUTES"
else else
undefined undefined
...@@ -482,7 +482,7 @@ if process.env["SHARELATEX_LDAP_URL"] ...@@ -482,7 +482,7 @@ if process.env["SHARELATEX_LDAP_URL"]
if _ldap_group_search_attribs = process.env["SHARELATEX_LDAP_GROUP_SEARCH_ATTRIBUTES"] if _ldap_group_search_attribs = process.env["SHARELATEX_LDAP_GROUP_SEARCH_ATTRIBUTES"]
try try
JSON.parse(_ldap_group_search_attribs) JSON.parse(_ldap_group_search_attribs)
catch catch e
console.error "could not parse SHARELATEX_LDAP_GROUP_SEARCH_ATTRIBUTES" console.error "could not parse SHARELATEX_LDAP_GROUP_SEARCH_ATTRIBUTES"
else else
undefined undefined
......
Markdown is supported
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