Skip to content

Commit

Permalink
fix(slogger): do not harden the data being recorded
Browse files Browse the repository at this point in the history
This causes surprises, especially when debugging.

closes #2517
  • Loading branch information
warner committed Feb 23, 2021
1 parent 8afe604 commit acfadf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/SwingSet/src/kernel/slogger.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export function makeDummySlogger(makeConsole) {
}

export function makeSlogger(writeObj) {
const write = writeObj ? e => writeObj(harden(e)) : () => 0;
const write = writeObj ? e => writeObj(e) : () => 0;

const vatSlogs = new Map(); // vatID -> vatSlog

Expand Down

0 comments on commit acfadf9

Please sign in to comment.