mirror of
https://github.com/finos/SymphonyElectron.git
synced 2025-02-25 18:55:29 -06:00
SDA-4196 Safe uptime retrieval
This commit is contained in:
committed by
Salah Benmoussati
parent
8731263d08
commit
e23c89b311
@@ -41,7 +41,7 @@ export class AppStats {
|
||||
} catch (error) {
|
||||
logger.error('stats: Error getting machine uptime', error);
|
||||
}
|
||||
logger.info(`Uptime -> `, os.uptime());
|
||||
logger.info(`Uptime -> `, uptime);
|
||||
logger.info(`User Info (OS Returned) -> `, os.userInfo());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user