Skip to content

Commit 04f6a39

Browse files
committed
console.warn
1 parent afe1b64 commit 04f6a39

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

site/src/modules/resources/AppLink/BaseIcon.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ export const BaseIcon: FC<BaseIconProps> = ({ app, onIconPathError }) => {
1414
src={app.icon}
1515
style={{ pointerEvents: "none" }}
1616
onError={() => {
17+
console.warn(
18+
`Application icon for "${app.id}" has invalid source "${app.icon}".`,
19+
);
1720
onIconPathError?.();
1821
}}
1922
/>

0 commit comments

Comments
 (0)