Remove console.log, update errorhandling comment