Commit ec1fb3b9 authored by Kim, Subin's avatar Kim, Subin
Browse files

alert errorMsg 띄우기

parent ad4f6a49
...@@ -11,6 +11,7 @@ const catchErrors = (error, displayError) => { ...@@ -11,6 +11,7 @@ const catchErrors = (error, displayError) => {
console.log('Error message:', errorMsg) console.log('Error message:', errorMsg)
} }
displayError(errorMsg) displayError(errorMsg)
alert(errorMsg)
} }
export default catchErrors export default catchErrors
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment