1
0
mirror of https://github.com/nolanlawson/pinafore synced 2025-02-03 07:15:47 +01:00

add console error message

This commit is contained in:
Nolan Lawson 2018-04-04 18:33:31 -07:00
parent 0056c7b3b1
commit eac398702d

View File

@ -42,6 +42,7 @@ export async function postStatus (realm, text, inReplyToId, mediaIds,
postedStatusForRealm: realm
})
} catch (e) {
console.error(e)
toast.say('Unable to post status: ' + (e.message || ''))
} finally {
store.set({postingStatus: false})