diff --git a/edit-mode/function/materialResource.js b/edit-mode/function/materialResource.js index f388fc6..1a01df7 100644 --- a/edit-mode/function/materialResource.js +++ b/edit-mode/function/materialResource.js @@ -163,7 +163,11 @@ $(document).ready(function () { return { results: dataIntegrasiMaterial }; - } + }, error: function (jqXHR, textStatus, errorThrown) { + gantt.alert(`Status: ${textStatus}`); + gantt.alert(`Error thrown: ${errorThrown}`); + gantt.alert(`Error accessing URL: ${adwIntegrationUrl}/request-material/get-material-integration`); + } } });