Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9104bad

Browse files
chore: feedback
1 parent0eae944 commit9104bad

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

‎site/src/pages/TaskPage/TaskPage.stories.tsx‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -371,10 +371,7 @@ export const WorkspaceStartFailure: Story = {
371371
});
372372

373373
spyOn(API,"startWorkspace").mockRejectedValue(
374-
mockApiError({
375-
message:"Failed to start workspace",
376-
detail:"Insufficient resources available. Please try again later.",
377-
}),
374+
newError("Some unexpected error"),
378375
);
379376
},
380377
play:async({ canvasElement})=>{

‎site/src/pages/WorkspacePage/WorkspaceReadyPage.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export const WorkspaceReadyPage: FC<WorkspaceReadyPageProps> = ({
6363
}>({open:false});
6464

6565
consthandleError=(error:unknown)=>{
66-
if(isApiError(error)&&error.code==="ERR_BAD_REQUEST"){
66+
if(isApiError(error)){
6767
setWorkspaceErrorDialog({
6868
open:true,
6969
error:error,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp