File tree Expand file tree Collapse file tree 2 files changed +11
-7
lines changed Expand file tree Collapse file tree 2 files changed +11
-7
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " @pythnetwork/price-pusher" ,
3- "version" : " 10.1 .0" ,
3+ "version" : " 10.2 .0" ,
44 "description" : " Pyth Price Pusher" ,
55 "homepage" : " https://pyth.network" ,
66 "main" : " lib/index.js" ,
Original file line number Diff line number Diff line change @@ -274,10 +274,14 @@ export default {
274274} ;
275275
276276export const onBundleResult = ( c : SearcherClient , logger : Logger ) => {
277- c . onBundleResult (
278- ( ) => undefined ,
279- ( err ) => {
280- logger . error ( err , "Error in bundle result" ) ;
281- } ,
282- ) ;
277+ try {
278+ c . onBundleResult (
279+ ( ) => undefined ,
280+ ( err ) => {
281+ logger . error ( err , "Error in bundle result" ) ;
282+ } ,
283+ ) ;
284+ } catch ( error ) {
285+ logger . error ( error , "Exception in bundle result" ) ;
286+ }
283287} ;
You can’t perform that action at this time.
0 commit comments