mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 18:48:51 +02:00
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
# Conflicts: # setup/modelfactory.class.inc.php # setup/setuputils.class.inc.php
This commit is contained in:
@@ -952,10 +952,13 @@ class ModelFactory
|
||||
$this->aDictKeys[$sLanguageCode][$sCode] = $oXmlEntry;
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Exception $e) {
|
||||
throw new Exception('Failed to load dictionary file "'.$sPHPFile.'", reason: '.$e->getMessage());
|
||||
}
|
||||
} catch (Exception|Error $e) // Error can occurs on eval() calls
|
||||
{
|
||||
throw new DictException('Failed to load dictionary file "' . $sPHPFile . '"', [
|
||||
'exception_class' => get_class($e),
|
||||
'exception_msg' => $e->getMessage(),
|
||||
]);
|
||||
}
|
||||
|
||||
}
|
||||
catch (Exception $e) {
|
||||
|
||||
Reference in New Issue
Block a user