Better postproc handling
This commit is contained in:
parent
291e9622c4
commit
640fd7b0d1
|
@ -300,7 +300,10 @@ function bhl_ast_post_proc($res_file, $post_proc_file)
|
||||||
{
|
{
|
||||||
$res = new BhlAstProcResult();
|
$res = new BhlAstProcResult();
|
||||||
$res->res_file = $res_file;
|
$res->res_file = $res_file;
|
||||||
$data = config_msgpack_unpack(ensure_read($post_proc_file));
|
$data = ensure_read($post_proc_file);
|
||||||
|
if(!$data)
|
||||||
|
return $res;
|
||||||
|
$data = config_msgpack_unpack($data);
|
||||||
if(!$data)
|
if(!$data)
|
||||||
return $res;
|
return $res;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue