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

Improve display for "queueing-error" #1222

Merged
merged 2 commits into from
Nov 6, 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
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,23 @@ export function BlastWorkspaceResult(props: Props) {
) : jobResult.value?.status === 'error' ? (
<BlastRerunError {...props} />
) : jobResult.value?.status === 'queueing-error' ? (
<ErrorPage message="We were unable to queue your job." />
<ErrorPage>
<div style={{ fontSize: 'larger' }}>
Your job did not run successfully. Please{' '}
<Link
target="_blank"
to={{
pathname: '/contact-us',
search: new URLSearchParams({
ctx: 'multi-blast job ' + jobResult.value.job.id,
}).toString(),
}}
>
contact us
</Link>{' '}
for support.
</div>
</ErrorPage>
) : queryResult.value?.status === 'error' ? (
<BlastRequestError errorDetails={queryResult.value.details} />
) : jobResult.value.job.config.tool.startsWith('diamond-') ? (
Expand Down Expand Up @@ -169,7 +185,23 @@ function StandardBlastResult(
<BlastRequestError errorDetails={reportResult.value.details} />
) : reportResult.value != null &&
reportResult.value.status === 'queueing-error' ? (
<ErrorPage message="We were unable to queue your combined results report." />
<ErrorPage>
<div style={{ fontSize: 'larger' }}>
We were unable to create your combined results report. Please{' '}
<Link
target="_blank"
to={{
pathname: '/contact-us',
search: new URLSearchParams({
ctx: 'multi-blast job ' + reportResult.value.report.jobID,
}).toString(),
}}
>
contact us
</Link>{' '}
for support.
</div>
</ErrorPage>
) : individualQueriesResult.value != null &&
individualQueriesResult.value.status === 'error' ? (
<BlastRequestError errorDetails={individualQueriesResult.value.details} />
Expand Down
Loading