1.3.7-4 - Prod Build - Updated sentry logging.
This commit is contained in:
@@ -18,6 +18,7 @@ import {
|
||||
selectCurrentCameraJobId,
|
||||
selectDeleteAfterUpload,
|
||||
} from "../../redux/app/app.selectors";
|
||||
import * as Sentry from "sentry-expo";
|
||||
|
||||
import { formatBytes } from "../../util/document-upload.utility";
|
||||
import { handleLocalUpload } from "../../util/local-document-upload.utility";
|
||||
@@ -63,6 +64,7 @@ export function UploadProgress({
|
||||
await MediaLibrary.deleteAssetsAsync(data);
|
||||
} catch (error) {
|
||||
console.log("Unable to delete picture.", error);
|
||||
Sentry.Native.captureException(error);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user