return error returned by RemoveDocument Controller

This commit is contained in:
Uwe Steinmann 2020-03-25 08:07:43 +01:00
parent f5c2add12c
commit 53521d25ff

View File

@ -546,7 +546,7 @@ switch($command) {
add_log_line();
} else {
header('Content-Type: application/json');
echo json_encode(array('success'=>false, 'message'=>getMLText('error_remove_document'), 'data'=>''));
echo json_encode(array('success'=>false, 'message'=>getMLText('error_remove_document')."<br />".getMLText($controller->getErrorMsg()), 'data'=>''));
}
} else {
header('Content-Type: application/json');