I’m using express 4.x and I’m trying to do a bucket.counter() operation on an express route. But I’m getting the following error:
Possibly unhandled Error: cannot perform operations on a shutdown bucket
I’m able to connect to the bucket on initialization of my route file with the following commands:
But when my route function gets invoked I get the “unhandled error”.
Any ideas on what I’m doing wrong?