server: ignore errors looking up optional username.

Change-Id: I457f604c60726beaf9d263c07fb0283035696fd2
This commit is contained in:
Brad Fitzpatrick 2014-08-15 18:24:23 -07:00
parent c71b122e12
commit 81b4417e8c
1 changed files with 1 additions and 4 deletions

View File

@ -71,10 +71,7 @@ func init() {
}
func newRootFromConfig(ld blobserver.Loader, conf jsonconfig.Obj) (h http.Handler, err error) {
username, err := getUserName()
if err != nil {
return
}
username, _ := getUserName()
root := &RootHandler{
BlobRoot: conf.OptionalString("blobRoot", ""),
SearchRoot: conf.OptionalString("searchRoot", ""),