Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: revert unwanted changes #301

Merged
merged 3 commits into from
Dec 17, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 3 additions & 8 deletions scripts/limonade/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ const argv = yargs(hideBin(process.argv))
description:
"API key to authenticate with the express relay server for publishing opportunities.",
type: "string",
demandOption: true,
})
.option("number-of-concurrent-submissions", {
description: "Number of concurrent submissions to the express relay server",
Expand Down Expand Up @@ -140,11 +141,7 @@ async function run() {
e.message.includes("Same opportunity is submitted recently")
)
) {
console.error(
"Failed to submit opportunity",
e,
e.message ? e.message : ""
);
console.error("Failed to submit opportunity", e);
}
};
const setHermesConnectionTimeout = () => {
Expand Down Expand Up @@ -190,9 +187,7 @@ async function run() {
try {
await client.submitOpportunity(payload);
} catch (e) {
if (e instanceof ClientError && e.message.includes("422")) {
console.log(payload);
}
handleSubmitError(e);
}
})
);
Expand Down
Loading