diff --git a/src/config.ts b/src/config.ts index f90b6bd..122243a 100644 --- a/src/config.ts +++ b/src/config.ts @@ -57,7 +57,7 @@ async function readConfigFile(location: string, shouldExist = false): Promise(cb => readFile(location, cb)).catch((e: NodeJS.ErrnoException) => e); if (content instanceof Error) { if (content.code === 'ENOENT' && !shouldExist) return []; - logging.error(`Error while reading ${location}: ${content.message}`); + logging.error(`Error while reading config file ${location}: ${content.message}`); return []; } const errors: ParseError[] = []; diff --git a/src/connection.ts b/src/connection.ts index 6d35003..2b3b906 100644 --- a/src/connection.ts +++ b/src/connection.ts @@ -45,7 +45,7 @@ export class ConnectionManager { terminals: [], filesystems: [], pendingUserCount: 0, - idleTimer: setInterval(() => { // Auutomatically close connection when idle for a while + idleTimer: setInterval(() => { // Automatically close connection when idle for a while timeoutCounter = timeoutCounter ? timeoutCounter - 1 : 0; if (con.pendingUserCount) return; con.filesystems = con.filesystems.filter(fs => !fs.closed && !fs.closing);