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

@ -1,7 +1,7 @@
{ {
"name": "sky-follower-bridge", "name": "sky-follower-bridge",
"displayName": "Sky Follower Bridge", "displayName": "Sky Follower Bridge",
"version": "0.1.1", "version": "0.1.2",
"description": "Instantly find and follow the same users from your Twitter follower on Bluesky.", "description": "Instantly find and follow the same users from your Twitter follower on Bluesky.",
"author": "kawamataryou", "author": "kawamataryou",
"scripts": { "scripts": {

View File

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