-
Notifications
You must be signed in to change notification settings - Fork 178
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature(app, odd): show full error list in the run summery (#15909)
# Overview closes https://opentrons.atlassian.net/browse/EXEC-635 (minos a few bug fixes ;-) ) show full error list in the run summery modal. ## Test Plan and Hands on Testing - run the desktop app/odd. - enter ER mode and make sure you encountered command errors. - finish the run and click the view error details -> make sure you can see the error encountered. ## Changelog - added get calls for the run command error list - updated FailedRunModal to show the full error list if we got it. ## Risk assessment low. should not affect existing code.
- Loading branch information
1 parent
6d9db72
commit cffa307
Showing
10 changed files
with
262 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import { GET, request } from '../../request' | ||
|
||
import type { ResponsePromise } from '../../request' | ||
import type { HostConfig } from '../../types' | ||
import type { GetCommandsParams, RunCommandErrors } from '../types' | ||
|
||
export function getRunCommandErrors( | ||
config: HostConfig, | ||
runId: string, | ||
params: GetCommandsParams | ||
): ResponsePromise<RunCommandErrors> { | ||
return request<RunCommandErrors>( | ||
GET, | ||
`/runs/${runId}/commandErrors`, | ||
null, | ||
config, | ||
params | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.