geolocate: change log level (#48945)

This commit is contained in:
Lauréline Guérin 2020-11-30 11:53:33 +01:00
parent 262977132a
commit 8960b8d075
No known key found for this signature in database
GPG Key ID: 1FAB9B9B4F93D473
1 changed files with 3 additions and 3 deletions

View File

@ -159,7 +159,7 @@ class GeolocateWorkflowStatusItem(WorkflowStatusItem):
def geolocate_photo_variable(self, formdata):
if Image is None:
get_logger().error('error geolocating from file (missing PIL)')
get_logger().debug('error geolocating from file (missing PIL)')
return
value = self.compute(self.photo_variable)
@ -168,13 +168,13 @@ class GeolocateWorkflowStatusItem(WorkflowStatusItem):
return
if not hasattr(value, 'get_file_pointer'):
get_logger().error('error geolocating from photo, invalid variable')
get_logger().debug('error geolocating from photo, invalid variable')
return
try:
image = Image.open(value.get_file_pointer())
except IOError:
get_logger().error('error geolocating from photo, invalid file')
get_logger().debug('error geolocating from photo, invalid file')
return
try: