Bug Fixed when a plugin file is not found.

This commit is contained in:
Luis Fernando Molina committed 2021-08-26 11:23:28 +02:00
1 parent 3f2871acea
commit 5da911fe0f
3 files changed
+9 -30

No files matched your search

+8 -1
View File
@@ -1388,7 +1388,14 @@ exports.newHttpInterface = function newHttpInterface() {
project,
folder,
fileName
)
).catch(err => {
let error = {
result: 'Fail Because',
message: err
}
respondWithContent(JSON.stringify(error), httpResponse)
return
})
respondWithContent(response, httpResponse)