This repository has been archived by the owner on Apr 17, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Return error on getStats if Redis client is undefined
Currently when calling getStats, if the first sync call has not been made yet, an 'cannot get value of undefined' error will be thrown. This adds an error message explaining that the client is not initialised and that an initial sync is required.
- Loading branch information
Aiden Keating
committed
Aug 16, 2017
1 parent
f9bb215
commit f365e57
Showing
2 changed files
with
25 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters