Use the appropriate callback when using offline storage

Blanket success was incorrect. For example, when fetching and id that was never cached locally,
the error callback should be used.

Related: #94