fixes #2: check for exposed ports and log error if none