Skip to content

Commit 5064fe3

Browse files
authored
add log in plugin autoloader
1 parent 61c6ce2 commit 5064fe3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/php/core.inc.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,9 @@ function jeedomAutoload($_classname) {
6969
try {
7070
include_file('core', $classname, 'class', $classname);
7171
} catch (Exception $e) {
72-
72+
log::add( 'core', 'error', $e->getMessage());
7373
} catch (Error $e) {
74-
74+
log::add( 'core', 'error', $e->getMessage());
7575
}
7676
}
7777
}

0 commit comments

Comments
 (0)