Changeset View
Changeset View
Standalone View
Standalone View
native/data/sqlite-data-handler.js
Show First 20 Lines • Show All 172 Lines • ▼ Show 20 Lines | (async () => { | ||||
}); | }); | ||||
} catch (setStoreException) { | } catch (setStoreException) { | ||||
if (isTaskCancelledError(setStoreException)) { | if (isTaskCancelledError(setStoreException)) { | ||||
dispatch({ type: setStoreLoadedActionType }); | dispatch({ type: setStoreLoadedActionType }); | ||||
return; | return; | ||||
} | } | ||||
if (staffCanSee) { | if (staffCanSee) { | ||||
Alert.alert( | Alert.alert( | ||||
`Error setting threadStore or messageStore: ${ | 'Error setting threadStore or messageStore', | ||||
getMessageForException(setStoreException) ?? | getMessageForException(setStoreException) ?? | ||||
'{no exception message}' | '{no exception message}', | ||||
}`, | |||||
); | ); | ||||
} | } | ||||
await callFetchNewCookieFromNativeCredentials( | await callFetchNewCookieFromNativeCredentials( | ||||
logInActionSources.sqliteLoadFailure, | logInActionSources.sqliteLoadFailure, | ||||
); | ); | ||||
} | } | ||||
})(); | })(); | ||||
}, [ | }, [ | ||||
Show All 19 Lines |