Skip to content

Commit

Permalink
log requesturl on error
Browse files Browse the repository at this point in the history
  • Loading branch information
Sander14121 committed Jul 30, 2024
1 parent a1a7017 commit e7c5048
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/api/component-api.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ class ComponentApi {
}
} catch (error) {
// Handle fetch error
console.error("Request url:", `${API_URL}/api/components/` );
console.error("Error fetching components:", error);
return null;
}
Expand Down

0 comments on commit e7c5048

Please sign in to comment.