Included parse error message
This commit is contained in:
parent
59e53cc4cc
commit
2421f07291
|
@ -52,8 +52,9 @@ if (isset($_FILES['resource_import']) === true) {
|
|||
$msg = $prd->importPrd($data);
|
||||
} else {
|
||||
$msg = [
|
||||
'error' => true,
|
||||
'msg_error' => ('No se ha podido parsear'),
|
||||
'status' => false,
|
||||
'items' => [],
|
||||
'errors' => ['Unexpected error: Unable to parse PRD file.']
|
||||
];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue