ts: remove event error log (#1313)

This commit is contained in:
xjcaa 2022-01-15 00:02:15 +08:00 committed by GitHub
parent 71f9c02c91
commit f34287e399
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 1 deletions

View File

@ -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

View File

@ -95,7 +95,6 @@ export class EventManager {
this._programId,
(logs, ctx) => {
if (logs.err) {
console.error(logs);
return;
}
this._eventParser.parseLogs(logs.logs, (event) => {