Skip to content

Commit

Permalink
feat(cache): stop cache handling on cache miss
Browse files Browse the repository at this point in the history
  • Loading branch information
stephanebachelier committed Feb 10, 2016
1 parent 6f3085d commit 644cb09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/read-cache.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export default function (req) {

error.reason = 'cache-miss'
error.message = 'Value not found from cache'
reject(error)
return reject(error)
}

// override request end callback
Expand Down

0 comments on commit 644cb09

Please sign in to comment.