diff --git a/extras/drift_devtools_extension/lib/src/schema_validator.dart b/extras/drift_devtools_extension/lib/src/schema_validator.dart index 107cb12b..d9beb0cd 100644 --- a/extras/drift_devtools_extension/lib/src/schema_validator.dart +++ b/extras/drift_devtools_extension/lib/src/schema_validator.dart @@ -136,8 +136,8 @@ class DatabaseSchemaCheck extends ConsumerWidget { TextSpan(text: message), ], )), - AsyncError(:var error, :var stackTrace) => Text( - 'The schema could not be validated due to an error: $error, ${stackTrace}'), + AsyncError(:var error) => + Text('The schema could not be validated due to an error: $error'), _ => Text.rich(TextSpan( text: 'By validating your schema, you can ensure that the current ' 'state of the database in your app (after migrations ran) '