Permalink
Browse files

Upgraded services to v0.1.0 and better error handling for localfetcher

  • Loading branch information...
dave committed Jan 4, 2019
1 parent 88ebf00 commit 838668da7e04ef3495b9a2f722978ae0a4efbcd8
Showing with 6 additions and 2 deletions.
  1. +1 −1 go.mod
  2. +1 −0 go.sum
  3. +4 −1 server/server.go
2 go.mod

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
1 go.sum

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
@@ -56,7 +56,10 @@ func New(shutdown chan struct{}) *Handler {
if config.LOCAL {
fileserver = localfileserver.New(config.LocalFileserverTempDir, config.Static, config.Host, config.Bucket)
database = localdatabase.New(config.LocalFileserverTempDir)
fetcherResolver := localfetcher.New()
fetcherResolver, err := localfetcher.New()
if err != nil {
panic(err)
}
c = cache.New(
database,
fetcherResolver,

0 comments on commit 838668d

Please sign in to comment.