Fix bug when reloading models
gil0mendes opened this issue · comments
Gil Mendes commented
When the server reloads after a change on a model the fakeredis
package throws an exception.
Error Report
(node:34719) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 4): Error: fakeredis: You've closed this connection with QUIT, cannot SET
(node:34719) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.