Don't print a warning for nothing
Now catching if the DynamoDB connection is None