andre 4 лет назад
Родитель
Сommit
9835298628
1 измененных файлов с 10 добавлено и 1 удалено
  1. 10 1
      core/UI/Widget/Sidebar/SidebarTrait.php

+ 10 - 1
core/UI/Widget/Sidebar/SidebarTrait.php

@@ -48,8 +48,17 @@ trait SidebarTrait
     }
     
     public function getChild($id){
+
+        logModuleCall(
+            'proxmoxCloud',
+            __FUNCTION__,
+            $this,
+            'Debug',
+            $id
+        );
+
         if(!isset($this->children[$id])){
-            throw new \Exception(sprintf("Blubb %s does not exist", $id));
+            throw new \Exception(sprintf("Sidebar %s does not exist", $id));
         }
         return $this->children[$id];
     }