parent
e3fe85c312
commit
aa76c15d1c
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@pythnetwork/price-pusher",
|
"name": "@pythnetwork/price-pusher",
|
||||||
"version": "5.4.4",
|
"version": "5.4.5",
|
||||||
"description": "Pyth Price Pusher",
|
"description": "Pyth Price Pusher",
|
||||||
"homepage": "https://pyth.network",
|
"homepage": "https://pyth.network",
|
||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
|
|
|
@ -322,7 +322,7 @@ export class SuiPricePusher implements IPricePusher {
|
||||||
"Successfully updated price with transaction digest ",
|
"Successfully updated price with transaction digest ",
|
||||||
result.digest
|
result.digest
|
||||||
);
|
);
|
||||||
} catch (e) {
|
} catch (e: any) {
|
||||||
console.log("Error when signAndExecuteTransactionBlock");
|
console.log("Error when signAndExecuteTransactionBlock");
|
||||||
if (String(e).includes("GasBalanceTooLow")) {
|
if (String(e).includes("GasBalanceTooLow")) {
|
||||||
console.warn(
|
console.warn(
|
||||||
|
@ -332,6 +332,11 @@ export class SuiPricePusher implements IPricePusher {
|
||||||
nextGasObject = gasObject;
|
nextGasObject = gasObject;
|
||||||
}
|
}
|
||||||
console.error(e);
|
console.error(e);
|
||||||
|
|
||||||
|
if ("data" in e) {
|
||||||
|
console.error("Error has .data field:");
|
||||||
|
console.error(JSON.stringify(e.data));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (nextGasObject !== undefined) {
|
if (nextGasObject !== undefined) {
|
||||||
|
|
Loading…
Reference in New Issue