Skip to content

Commit

Permalink
Adding a console.error.
Browse files Browse the repository at this point in the history
  • Loading branch information
danilo-silva-funttastic committed Aug 26, 2024
1 parent b7c572e commit f515c8e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/connectors/kujira/kujira.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1365,7 +1365,7 @@ export class Kujira {
});

const response: JsonObject = { orders: [] };
let partialResponse: JsonObject;
let partialResponse: JsonObject;

do {
let startAfter = '0';
Expand All @@ -1389,6 +1389,8 @@ export class Kujira {
}
);
} catch (error: any) {
console.error(error);

if (error.message.includes('Cannot Sub with 0 and 1')) {
break;
}
Expand Down

0 comments on commit f515c8e

Please sign in to comment.