mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-12-09 07:43:36 +00:00
log error when conversion fails
This commit is contained in:
parent
3c92ebd942
commit
6c36dff064
|
|
@ -85,6 +85,9 @@ class SeedDMS_ConversionServicePdfToImage extends SeedDMS_ConversionServiceBase
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (ImagickException $e) {
|
} catch (ImagickException $e) {
|
||||||
|
if($this->logger) {
|
||||||
|
$this->logger->log('Conversion from '.$this->from.' to '.$this->to.' with pdf service failed: '.$e->getMessage(), PEAR_LOG_ERR);
|
||||||
|
}
|
||||||
$this->success = false;
|
$this->success = false;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user