Skip to content

Commit

Permalink
Return Failed
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasAunvik committed Apr 25, 2024
1 parent bbc89f9 commit f07261f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Web/Client/app/dashboard/skills/[skillId]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ const SkillFormServer = async (props: SkillPageProps) => {

return <SkillForm skill={skill} />;
} catch (err) {
return notFound();
console.error(err);
return <div>Failed to load skill</div>;
}
};

Expand Down

0 comments on commit f07261f

Please sign in to comment.