diff --git a/macro.inc.php b/macro.inc.php index bb0bec4..3e718f4 100644 --- a/macro.inc.php +++ b/macro.inc.php @@ -114,7 +114,7 @@ function macro_SELF_CONF_ID($jsm) $proto_id = 0; $alias = ""; if(!\taskman\config_get_header($file, $proto_id, $alias)) - $proto_id = \taskman\config_get_id($file); + throw new Exception("No valid header for config: $file"); return $proto_id; }