diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-02-05 19:02:05 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-02-05 19:02:05 +0100 |
commit | 8425cb894d4867d26fd5f7fae7862b0669f3c717 (patch) | |
tree | 5e2f00a8219e198f2dd074ca13f3ae681174228f /helpers/utils.js | |
parent | dac0a5319ab1c52a0958647b1593f85339b77e29 (diff) | |
download | PeerTube-8425cb894d4867d26fd5f7fae7862b0669f3c717.tar.gz PeerTube-8425cb894d4867d26fd5f7fae7862b0669f3c717.tar.zst PeerTube-8425cb894d4867d26fd5f7fae7862b0669f3c717.zip |
Error handling mini refractoring
Diffstat (limited to 'helpers/utils.js')
-rw-r--r-- | helpers/utils.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helpers/utils.js b/helpers/utils.js index bd0557977..92684ea81 100644 --- a/helpers/utils.js +++ b/helpers/utils.js | |||
@@ -8,7 +8,7 @@ | |||
8 | } | 8 | } |
9 | 9 | ||
10 | function cleanForExit (webtorrent_process) { | 10 | function cleanForExit (webtorrent_process) { |
11 | logger.info('Gracefully exiting') | 11 | logger.info('Gracefully exiting.') |
12 | process.kill(-webtorrent_process.pid) | 12 | process.kill(-webtorrent_process.pid) |
13 | } | 13 | } |
14 | 14 | ||