Commit 934d765f authored by Leo Iannacone's avatar Leo Iannacone

fix call watch_path_on_socket

parent c3b1b979
...@@ -89,12 +89,12 @@ function __watch_path_onsocket(event_name, socket, data, watch_path, updater) { ...@@ -89,12 +89,12 @@ function __watch_path_onsocket(event_name, socket, data, watch_path, updater) {
} }
socket.set(name, watcher) socket.set(name, watcher)
}) })
} catch (err_watch) {} } catch (err_watch) { console.error('utils.__watch_path_onsocket ' + err_watch)}
}) })
} }
function __generic_handler_watcher(event_name, socket, data, watch_path, callback) { function __generic_handler_watcher(event_name, socket, data, watch_path, callback) {
__watch_path_onsocket(event_name, socket, data, config.debomatic.path, callback) __watch_path_onsocket(event_name, socket, data, watch_path, callback)
callback(event_name, socket, data) callback(event_name, socket, data)
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment