diff --git a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/Shared/widgets/MoveEntityController.js b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/Shared/widgets/MoveEntityController.js index 8759cb46eea002042f3faba8823599dc9c300163..5e0dc2a7755733b9c4f13748c1e457755d8e9240 100644 --- a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/Shared/widgets/MoveEntityController.js +++ b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/Shared/widgets/MoveEntityController.js @@ -84,7 +84,11 @@ function MoveEntityController(entityType, entityPermId) { waitForIndexUpdate(); }; var fail = function(error) { - Util.showError("Move failed: " + JSON.stringify(error)); + var msg = JSON.stringify(error); + if (error && error.data && error.data.message) { + msg = error.data.message; + } + Util.showError("Move failed: " + msg); }; switch(entityType) {