David Lechner
2022-06-01 13:27:32 -05:00
parent 64cf4821b1
commit 1403dbb2f5
+3 -3
View File
@@ -71,7 +71,7 @@ export class ActiveFileHistoryManager {
}
} catch (err) {
// istanbul ignore next: not a critical error
console.error(`failed to get ${this.storageKey}:`, err);
console.error(`failed to get ${this.storageKey}: ${err}`);
}
}
@@ -93,7 +93,7 @@ export class ActiveFileHistoryManager {
sessionStorage.setItem(this.storageKey, JSON.stringify(this.history));
} catch (err) {
// istanbul ignore next: not a critical failure
console.error(`failed to store ${this.storageKey}:`, err);
console.error(`failed to store ${this.storageKey}: ${err}`);
}
}
@@ -121,7 +121,7 @@ export class ActiveFileHistoryManager {
sessionStorage.setItem(this.storageKey, JSON.stringify(this.history));
} catch (err) {
// istanbul ignore next: not a critical failure
console.error(`failed to store ${this.storageKey}:`, err);
console.error(`failed to store ${this.storageKey}: ${err}`);
}
return wasActiveFile ? this.history.at(-1) : undefined;