We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 31954e5 commit cc412dbCopy full SHA for cc412db
src/utils/link/index.ts
@@ -5,7 +5,11 @@ export async function isLinkValid(url: string): Promise<Response> {
5
},
6
})
7
.then((response) => {
8
+ // eslint-disable-next-line no-console
9
+ console.log('response', response);
10
if (!response.ok) {
11
12
+ console.error(response);
13
throw new TypeError('invalid_link');
14
}
15
return response;
0 commit comments