handle null config

This commit is contained in:
Neeraj Gupta 2022-09-26 14:12:10 +05:30
parent 40e96f1cec
commit 30e0d9b59a
No known key found for this signature in database
GPG key ID: 3C5A1684DC1729E1
2 changed files with 3 additions and 3 deletions

View file

@ -209,7 +209,7 @@ class SuperLogging {
}
static void setUserID(String userID) async {
if (config.sentryDsn != null) {
if (config?.sentryDsn != null) {
Sentry.configureScope((scope) => scope.user = SentryUser(id: userID));
$.info("setting sentry user ID to: $userID");
}

View file

@ -733,7 +733,7 @@ packages:
description:
path: "."
ref: HEAD
resolved-ref: "18a50c3a7e7a36d61f09a93733ef7c4f0516392e"
resolved-ref: "669388e102cfc832c06e2f3085a5b15d8620dde3"
url: "https://github.com/ente-io/motionphoto.git"
source: git
version: "0.0.1"
@ -911,7 +911,7 @@ packages:
name: photo_manager
url: "https://pub.dartlang.org"
source: hosted
version: "2.1.4"
version: "2.1.1"
photo_view:
dependency: "direct main"
description: