ts: remove event error log (#1313)
This commit is contained in:
parent
71f9c02c91
commit
f34287e399
|
@ -14,6 +14,7 @@ incremented for features.
|
||||||
### 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))
|
* 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
|
### Breaking
|
||||||
|
|
||||||
|
|
|
@ -95,7 +95,6 @@ export class EventManager {
|
||||||
this._programId,
|
this._programId,
|
||||||
(logs, ctx) => {
|
(logs, ctx) => {
|
||||||
if (logs.err) {
|
if (logs.err) {
|
||||||
console.error(logs);
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this._eventParser.parseLogs(logs.logs, (event) => {
|
this._eventParser.parseLogs(logs.logs, (event) => {
|
||||||
|
|
Loading…
Reference in New Issue