log execeptions happening during mergeprint for easier debugging

This commit is contained in:
Ralf Becker 2016-07-25 14:53:30 +02:00
parent a4d39d5873
commit a0d419a145

View File

@ -578,6 +578,7 @@ abstract class Merge
try { try {
$content = $this->merge_string($content,$ids,$err,$mimetype,$fix); $content = $this->merge_string($content,$ids,$err,$mimetype,$fix);
} catch (\Exception $e) { } catch (\Exception $e) {
_egw_log_exception($e);
$err = $e->getMessage(); $err = $e->getMessage();
return false; return false;
} }