Skip to content

Commit

Permalink
Removed reject on error #349 #354
Browse files Browse the repository at this point in the history
  • Loading branch information
unocelli committed May 10, 2022
1 parent f337311 commit 789d806
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion client/dist/index.html
Expand Up @@ -47,6 +47,6 @@
</div>
</div>
</app-root>
<script type="text/javascript" src="runtime.80ab492fe3d778817936.js"></script><script type="text/javascript" src="polyfills.32ecc676167084d6ee38.js"></script><script type="text/javascript" src="scripts.5248615c5df4838808f4.js"></script><script type="text/javascript" src="main.33b3f984726c5cf4513b.js"></script></body>
<script type="text/javascript" src="runtime.80ab492fe3d778817936.js"></script><script type="text/javascript" src="polyfills.32ecc676167084d6ee38.js"></script><script type="text/javascript" src="scripts.5248615c5df4838808f4.js"></script><script type="text/javascript" src="main.2b67f3a767fd261c6695.js"></script></body>

</html>

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion client/package.json
@@ -1,6 +1,6 @@
{
"name": "fuxa",
"version": "1.1.6-685",
"version": "1.1.6-687",
"keywords": [],
"author": "frangoteam <4frango@gmail.com>",
"description": "Web-based Process Visualization (SCADA/HMI/Dashboard) software",
Expand Down
4 changes: 2 additions & 2 deletions server/package.json
@@ -1,6 +1,6 @@
{
"name": "fuxa-server",
"version": "1.1.6-685",
"version": "1.1.6-687",
"description": "Web-based Process Visualization (SCADA/HMI/Dashboard) software",
"main": "main.js",
"scripts": {
Expand Down Expand Up @@ -36,7 +36,7 @@
"nodemailer": "^6.7.2",
"nopt": "5.0.0",
"socket.io": "^2.2.0",
"sqlite3": "5.0.0",
"sqlite3": "^5.0.4",
"winston": "^3.2.1"
},
"devDependencies": {}
Expand Down
6 changes: 5 additions & 1 deletion server/runtime/scripts/index.js
Expand Up @@ -112,7 +112,11 @@ function ScriptsManager(_runtime) {
scriptModule.runScriptWithoutParameter(script);
script.lastRun = time;
} catch (err) {
reject(err);
if (err.message) {
logger.error(err.message);
} else {
logger.error(err);
}
}
}
});
Expand Down

0 comments on commit 789d806

Please sign in to comment.