Improved Handling of Loggers while process is shutting down

This commit is contained in:
Luis Fernando Molina committed 2020-04-27 08:57:12 +02:00
1 parent 57685ff222
commit d435c0e158
7 files changed
+41 -4

No files matched your search

+2
View File
@@ -447,6 +447,8 @@ exports.newFileStorage = function newFileStorage(logger, host, port) {
'/Storage/' +
filePath
logger.write(MODULE_NAME, '[INFO] FileStorage -> getFileViaHTTP -> url = ' + url)
http.get(url, onResponse);
function onResponse(response) {