Page MenuHomePhabricator

D11457.id27558.diff
No OneTemporary

D11457.id27558.diff

diff --git a/support/aphlict/server/aphlict_server.js b/support/aphlict/server/aphlict_server.js
--- a/support/aphlict/server/aphlict_server.js
+++ b/support/aphlict/server/aphlict_server.js
@@ -70,6 +70,11 @@
set_exit_code(1);
});
+// Add the logfile so we'll fail if we can't write to it.
+if (config.log) {
+ debug.addLog(config.log);
+}
+
try {
require('ws');
} catch (ex) {
@@ -96,11 +101,6 @@
ssl_config.cert = fs.readFileSync(config['ssl-cert']);
}
-// Add the logfile so we'll fail if we can't write to it.
-if (config.log) {
- debug.addLog(config.log);
-}
-
// If we're just doing a configuration test, exit here before starting any
// servers.
if (config.test) {

File Metadata

Mime Type
text/plain
Expires
Wed, May 22, 1:38 PM (1 w, 4 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6288906
Default Alt Text
D11457.id27558.diff (696 B)

Event Timeline