fix error message

This commit is contained in:
kawamataryo
2023-07-09 12:41:21 +09:00
parent ba6e429ace
commit 02db2c9e3e
2 changed files with 3 additions and 2 deletions

View File

@@ -53,7 +53,8 @@ function IndexPopup() {
setMessage({ type: MESSAGE_TYPE.SUCCESS, message: "Completed. Try again if no results found.”" })
}
} catch(e) {
setErrorMessage(e.toString())
setErrorMessage('Error: Something went wrong. Please reload the web page and try again.')
console.error(e)
} finally {
setIsLoading(false)
}