Skip to content

Commit

Permalink
refactor: [ERROR] prefix 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
feb-dain committed May 22, 2023
1 parent 363fff5 commit d69aa12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/fetchApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ export const fetchApi = async (url: string, options: RequestInit) => {

const response = await fetch(url, options);

if (!response.ok) throw new Error('에러가 발생하였습니다.');
if (!response.ok) throw new Error('[ERROR] 에러가 발생하였습니다.');

const contentType = response.headers.get('content-type');

Expand Down

0 comments on commit d69aa12

Please sign in to comment.