diff --git a/src/mol-state/state.ts b/src/mol-state/state.ts index 8acd5b434f083d40e3679926067b31a511c75b81..56385e82a6c7915643ea21e5e5af192ab9321a4c 100644 --- a/src/mol-state/state.ts +++ b/src/mol-state/state.ts @@ -414,7 +414,7 @@ function doError(ctx: UpdateContext, ref: Ref, errorText: string | undefined, si if (errorText) { setCellStatus(ctx, ref, 'error', errorText); - ctx.parent.events.log.next({ type: 'error', timestamp: new Date(), message: errorText }); + if (!silent) ctx.parent.events.log.next({ type: 'error', timestamp: new Date(), message: errorText }); } const cell = ctx.cells.get(ref)!;