A bit tweaking error reporting
Publish PHP Package / docker (push) Successful in 6s
Details
Publish PHP Package / docker (push) Successful in 6s
Details
This commit is contained in:
parent
7a6208d921
commit
42e673f2b1
|
@ -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));
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue