Add an exception catch for the redis setting.