Basic routing implementation.
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
import axios from "axios";
|
||||
import { store } from "../redux/store";
|
||||
import mime from "mime";
|
||||
import * as MediaLibrary from "expo-media-library";
|
||||
import * as Sentry from "@sentry/react-native";
|
||||
import mime from "mime";
|
||||
import { store } from "../redux/store";
|
||||
|
||||
|
||||
axios.interceptors.request.use(
|
||||
function (config) {
|
||||
@@ -96,14 +96,12 @@ export const handleLocalUpload = async ({
|
||||
});
|
||||
}
|
||||
} catch (error) {
|
||||
Sentry.captureException(error);
|
||||
|
||||
console.log("Error uploading documents:", error.message);
|
||||
onError && onError({ error: error.message });
|
||||
}
|
||||
} catch (error) {
|
||||
console.log("Uncaught error", error);
|
||||
Sentry.captureException(error);
|
||||
|
||||
onError && onError({ error: error.message });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user