mirror of
https://github.com/pockethost/pockethost.git
synced 2025-03-30 15:08:30 +00:00
chore: FtpService logging and code formatting enhancements
This commit is contained in:
parent
4797706605
commit
ecc4d02a21
@ -77,12 +77,13 @@ export const ftpService = mkSingleton((config: FtpConfig) => {
|
||||
resolve({ fs })
|
||||
} catch (e) {
|
||||
reject(new Error(`Invalid username or password`))
|
||||
return
|
||||
}
|
||||
}
|
||||
)
|
||||
|
||||
ftpServer.listen().then(() => {
|
||||
info('Ftp server is starting...')
|
||||
info('Ftp server started...')
|
||||
})
|
||||
|
||||
const shutdown = () => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user