This commit is contained in:
Rodrigo Ramírez Norambuena 2017-01-31 21:58:46 -03:00
parent b02920c43c
commit ee0418e719
2 changed files with 10 additions and 1 deletions

View file

@ -21,6 +21,11 @@ if (process.env.MM_CONFIG_FILE) {
global.configuration_file = process.env.MM_CONFIG_FILE;
}
//Hotfix PullRequest #673
if (process.env.MM_PORT) {
global.mmPort = process.env.MM_PORT;
}
// The next part is here to prevent a major exception when there
// is no internet connection. This could probable be solved better.
process.on("uncaughtException", function (err) {