Fix bug when using cache

The callback being called when a cached result is used improperly excluded the first error parameter.
Merge pull request #1 from benbrown/patch-1

Fix bug when using cache