Skip to content

Commit

Permalink
ts: remove event error log (coral-xyz#1313)
Browse files Browse the repository at this point in the history
  • Loading branch information
xjcaa authored and losman0s committed Feb 7, 2022
1 parent 6a55c97 commit 027d809
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ incremented for features.
### Features

* lang: Add `seeds::program` constraint for specifying which program_id to use when deriving PDAs.([#1197](https://github.com/project-serum/anchor/pull/1197))
* ts: Remove error logging in the event parser when log websocket encounters a program error. ([#1313](https://github.com/project-serum/anchor/pull/1313))

### Breaking

Expand Down
1 change: 0 additions & 1 deletion ts/src/program/event.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ export class EventManager {
this._programId,
(logs, ctx) => {
if (logs.err) {
console.error(logs);
return;
}
this._eventParser.parseLogs(logs.logs, (event) => {
Expand Down

0 comments on commit 027d809

Please sign in to comment.