We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 413d8bc commit 1adf706Copy full SHA for 1adf706
library/Icingadb/Hook/CustomVarsRetrieverHook.php
@@ -15,7 +15,7 @@ final public static function getCustomVarColumns(Model $model): array
15
{
16
$columns = [];
17
18
- $hooks = Hook::all('Icingadb/CustomVarsRetriever');
+ $hooks = Hook::all('icingadb/CustomVarsRetriever');
19
foreach ($hooks as $hook) {
20
try {
21
$customVars = $hook->retrieveCustomVars($model);
@@ -24,8 +24,9 @@ final public static function getCustomVarColumns(Model $model): array
24
}
25
} catch (Throwable $e) {
26
Logger::error(
27
- 'Error retrieving Custom Vars for %s: %s',
28
- $object,
+ 'Error retrieving Custom Vars for %s with table name "%s": %s',
+ get_class($model),
29
+ $model->getTableName(),
30
$e->getMessage()
31
);
32
0 commit comments