From f70848830bd3ad23c7f51cf6c49093b7a2b70955 Mon Sep 17 00:00:00 2001 From: Milton Moura Date: Sat, 22 Oct 2016 15:45:44 +0000 Subject: [PATCH] fixing error message on size limits --- CloudVisionKit.podspec | 2 +- Pod/Classes/CloudVisionAPI.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CloudVisionKit.podspec b/CloudVisionKit.podspec index 27c03ef..5e80cf7 100644 --- a/CloudVisionKit.podspec +++ b/CloudVisionKit.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = "CloudVisionKit" - s.version = "0.3.1" + s.version = "0.3.2" s.summary = "A Swift interface for Google's Cloud Vision API." s.description = <<-DESC diff --git a/Pod/Classes/CloudVisionAPI.swift b/Pod/Classes/CloudVisionAPI.swift index 87535da..000c171 100644 --- a/Pod/Classes/CloudVisionAPI.swift +++ b/Pod/Classes/CloudVisionAPI.swift @@ -70,7 +70,7 @@ final public class CloudVision { } catch GCVApiError.requestSizeExceeded { NSLog("GCV Usage Limit Exceeded: Request Size > 8 MB") } catch GCVApiError.imageDataSizeExceeded { - NSLog("GCV Usage Limit Exceeded: Image size > 2 MB") + NSLog("GCV Usage Limit Exceeded: Image size > 4 MB") } catch GCVApiError.imagesPerRequestExceeded { NSLog("GCV Usage Limit Exceeded: Max Images Per Request > 16") } catch {