mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-12-26 08:51:22 -06:00
SDA-4196 Safe uptime retrieval
This commit is contained in:
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());
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user