Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions core/class/virtual.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public static function createJeedomMonitor(){
$eqLogic->setLogicalId('jeedom::monitor');
try {
$eqLogic->save();
} catch (Exception $e) {
} catch (Throwable $e) {
$eqLogic->setName($eqLogic->getName() . ' remote ' . rand(0, 9999));
$eqLogic->save();
}
Expand Down Expand Up @@ -232,7 +232,7 @@ public static function templateParameters($_template = '') {
if (is_json($content)) {
$return += json_decode($content, true);
}
} catch (Exception $e) {
} catch (Throwable $e) {
}
}
if (isset($_template) && $_template != '') {
Expand Down Expand Up @@ -290,7 +290,7 @@ public function refresh() {
$cmd->event($value);
}
}
} catch (Exception $exc) {
} catch (Throwable $exc) {
log::add('virtual', 'error', __('Erreur pour', __FILE__) . ' ' . $this->getHumanName() . ' : ' . $exc->getMessage());
}
}
Expand Down Expand Up @@ -369,7 +369,7 @@ public function copyFromEqLogic($_eqLogic_id) {
}
try {
$cmd->save();
} catch (Exception $e) {
} catch (Throwable $e) {
}
}
$this->save();
Expand Down Expand Up @@ -427,7 +427,7 @@ public function copyCmdsFromEqLogic($_eqLogic_id, $cmdsSelected) {
}
try {
$cmd->save();
} catch (Exception $e) {
} catch (Throwable $e) {
}
}
$this->save();
Expand Down Expand Up @@ -555,7 +555,7 @@ public function execute($_options = null) {
$result = str_replace('"', '', $result);
}
return $result;
} catch (Exception $e) {
} catch (Throwable $e) {
log::add('virtual', 'info', $e->getMessage());
return $this->getConfiguration('calcul');
}
Expand Down Expand Up @@ -597,7 +597,7 @@ public function execute($_options = null) {
if (is_object($cmd)) {
try {
$cmd->execCmd($_options);
} catch (\Exception $e) {
} catch (Throwable $e) {
}
}
}
Expand Down
2 changes: 2 additions & 0 deletions docs/de_DE/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
>
>Wenn es keine Informationen über die Aktualisierung gibt, bedeutet dies, dass es sich nur um die Aktualisierung von Dokumentation, Übersetzung oder Text handelt.

#

- Unterstützung für benutzerdefinierte Gerätebilder (Jeedom 4.5)
- Ein Fehler beim Importieren von Bestellungen wurde behoben

Expand Down
2 changes: 2 additions & 0 deletions docs/en_US/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
>
>If there is no information on the update, it means that it concerns only the update of documentation, translation or text.

#

- Support for custom equipment images (Jeedom 4.5)
- Fixed a bug on importing orders

Expand Down
2 changes: 2 additions & 0 deletions docs/es_ES/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
>
>Si no hay información sobre la actualización, significa que se trata solo de la actualización de la documentación, la traducción o el texto.

#

- Soporte para imágenes de equipos personalizados (Jeedom 4.5)
- Se corrigió un error al importar pedidos

Expand Down
4 changes: 4 additions & 0 deletions docs/fr_FR/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
>
>S'il n'y a pas d'information sur la mise à jour, c'est que celle-ci concerne uniquement de la mise à jour de documentation, de traduction ou de texte.

# 02/12/2025

- Meilleure gestion de l'erreur "DivisionByZeroError"

# 28/11/205

- Support des images d'équipement personnalisées (Jeedom 4.5)
Expand Down
1 change: 1 addition & 0 deletions docs/i18n/de_DE.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"changelog.md": {
"Changelog Virtuel": "Changelog Virtual",
"S'il n'y a pas d'information sur la mise à jour, c'est que celle-ci concerne uniquement de la mise à jour de documentation, de traduction ou de texte": "Wenn es keine Informationen über die Aktualisierung gibt, bedeutet dies, dass es sich nur um die Aktualisierung von Dokumentation, Übersetzung oder Text handelt",
"28\/11\/205": "",
"Support des images d'équipement personnalisées (Jeedom 4.5": "Unterstützung für benutzerdefinierte Gerätebilder (Jeedom 4.5",
"Correction d'un bug sur l'import des commandes": "Ein Fehler beim Importieren von Bestellungen wurde behoben",
"07\/08\/2024": "08.07.2024",
Expand Down
1 change: 1 addition & 0 deletions docs/i18n/en_US.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"changelog.md": {
"Changelog Virtuel": "Changelog Virtual",
"S'il n'y a pas d'information sur la mise à jour, c'est que celle-ci concerne uniquement de la mise à jour de documentation, de traduction ou de texte": "If there is no information on the update, it means that it concerns only the update of documentation, translation or text",
"28\/11\/205": "",
"Support des images d'équipement personnalisées (Jeedom 4.5": "Support for custom equipment images (Jeedom 4.5",
"Correction d'un bug sur l'import des commandes": "Fixed a bug on importing orders",
"07\/08\/2024": "07\/08\/2024",
Expand Down
1 change: 1 addition & 0 deletions docs/i18n/es_ES.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"changelog.md": {
"Changelog Virtuel": "Registro de cambios virtual",
"S'il n'y a pas d'information sur la mise à jour, c'est que celle-ci concerne uniquement de la mise à jour de documentation, de traduction ou de texte": "Si no hay información sobre la actualización, significa que se trata solo de la actualización de la documentación, la traducción o el texto",
"28\/11\/205": "",
"Support des images d'équipement personnalisées (Jeedom 4.5": "Soporte para imágenes de equipos personalizados (Jeedom 4.5",
"Correction d'un bug sur l'import des commandes": "Se corrigió un error al importar pedidos",
"07\/08\/2024": "08\/07\/2024",
Expand Down
1 change: 1 addition & 0 deletions docs/i18n/fr_FR.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"Changelog Virtuel": "Changelog Virtuel",
"IMPORTANT": "IMPORTANT",
"S'il n'y a pas d'information sur la mise à jour, c'est que celle-ci concerne uniquement de la mise à jour de documentation, de traduction ou de texte": "S'il n'y a pas d'information sur la mise à jour, c'est que celle-ci concerne uniquement de la mise à jour de documentation, de traduction ou de texte",
"28\/11\/205": "28\/11\/205",
"Support des images d'équipement personnalisées (Jeedom 4.5": "Support des images d'équipement personnalisées (Jeedom 4.5",
"Correction d'un bug sur l'import des commandes": "Correction d'un bug sur l'import des commandes",
"07\/08\/2024": "07\/08\/2024",
Expand Down
1 change: 1 addition & 0 deletions docs/i18n/pt_PT.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"changelog.md": {
"Changelog Virtuel": "Changelog Virtual",
"S'il n'y a pas d'information sur la mise à jour, c'est que celle-ci concerne uniquement de la mise à jour de documentation, de traduction ou de texte": "Se não houver informação sobre a atualização, significa que se trata apenas da atualização da documentação, tradução ou texto",
"28\/11\/205": "",
"Support des images d'équipement personnalisées (Jeedom 4.5": "Suporte para imagens de equipamentos personalizados (Jeedom 4.5",
"Correction d'un bug sur l'import des commandes": "Corrigido um bug ao importar pedidos",
"07\/08\/2024": "08\/07\/2024",
Expand Down
2 changes: 2 additions & 0 deletions docs/pt_PT/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
>
>Se não houver informação sobre a atualização, significa que se trata apenas da atualização da documentação, tradução ou texto.

#

- Suporte para imagens de equipamentos personalizados (Jeedom 4.5)
- Corrigido um bug ao importar pedidos

Expand Down