A bit tweaking error reporting
Publish PHP Package / docker (push) Successful in 6s Details

This commit is contained in:
Pavel Shevaev 2025-02-25 20:04:47 +03:00
parent 7a6208d921
commit 42e673f2b1
2 changed files with 1 additions and 2 deletions

View File

@ -244,7 +244,6 @@ function config_cache_fetch(ConfigFetchParams $params) : ConfigFetchResult
if(count($errors) > 15)
break;
}
var_dump(sizeof($errors));
throw new Exception(implode("\n", $errors));
}

View File

@ -41,7 +41,7 @@ function config_parse(array $base_dirs, string $file) : ConfigParseResult
else
{
$res->error = $decode_res[0];
$res->error_descr = "File '$file':\n" . $decode_res[1];
$res->error_descr = $decode_res[1];
}
return $res;