handle null config
This commit is contained in:
parent
40e96f1cec
commit
30e0d9b59a
2 changed files with 3 additions and 3 deletions
|
@ -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");
|
||||
}
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue