mirror of
https://github.com/nasa/openmct.git
synced 2025-03-22 03:55:31 +00:00
debug
This commit is contained in:
parent
37cdf3c6db
commit
1ec2948ccd
@ -191,6 +191,8 @@ export default class ObjectAPI {
|
||||
|
||||
get(identifier, abortSignal) {
|
||||
let keystring = this.makeKeyString(identifier);
|
||||
console.log('openmct get', keystring);
|
||||
const now = new Date();
|
||||
|
||||
if (this.cache[keystring] !== undefined) {
|
||||
return this.cache[keystring];
|
||||
@ -227,6 +229,7 @@ export default class ObjectAPI {
|
||||
mutableDomainObject.$refresh(result);
|
||||
}
|
||||
|
||||
console.log('openmct get', keystring, Date.now() - now.getTime());
|
||||
return result;
|
||||
}).catch((result) => {
|
||||
console.warn(`Failed to retrieve ${keystring}:`, result);
|
||||
|
Loading…
x
Reference in New Issue
Block a user