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 postedStatusForRealm: realm
}) })
} catch (e) { } catch (e) {
console.error(e)
toast.say('Unable to post status: ' + (e.message || '')) toast.say('Unable to post status: ' + (e.message || ''))
} finally { } finally {
store.set({postingStatus: false}) store.set({postingStatus: false})