Skip to content

Commit cc412db

Browse files
committed
update logs
1 parent 31954e5 commit cc412db

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/utils/link/index.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,11 @@ export async function isLinkValid(url: string): Promise<Response> {
55
},
66
})
77
.then((response) => {
8+
// eslint-disable-next-line no-console
9+
console.log('response', response);
810
if (!response.ok) {
11+
// eslint-disable-next-line no-console
12+
console.error(response);
913
throw new TypeError('invalid_link');
1014
}
1115
return response;

0 commit comments

Comments
 (0)