Skip to content

Commit 25ea117

Browse files
committed
Fixed type check issue
1 parent b9d34f7 commit 25ea117

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

x-pack/plugins/index_management/server/routes/api/data_streams/register_get_route.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ export function registerGetOneRoute({
187187

188188
return response.notFound();
189189
} catch (error) {
190-
handleEsError({ error, response });
190+
return handleEsError({ error, response });
191191
}
192192
})
193193
);

0 commit comments

Comments
 (0)