chore: FtpService logging and code formatting enhancements

This commit is contained in:
Ben Allfree 2023-06-18 05:56:36 -07:00
parent 4797706605
commit ecc4d02a21

View File

@ -77,12 +77,13 @@ export const ftpService = mkSingleton((config: FtpConfig) => {
resolve({ fs }) resolve({ fs })
} catch (e) { } catch (e) {
reject(new Error(`Invalid username or password`)) reject(new Error(`Invalid username or password`))
return
} }
} }
) )
ftpServer.listen().then(() => { ftpServer.listen().then(() => {
info('Ftp server is starting...') info('Ftp server started...')
}) })
const shutdown = () => { const shutdown = () => {