add console error message

This commit is contained in:
Nolan Lawson 2018-04-04 18:33:31 -07:00
parent 0056c7b3b1
commit eac398702d
1 changed files with 1 additions and 0 deletions

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})