Don't include stack trace in devtools error UI

This commit is contained in:
Simon Binder 2024-02-12 22:01:32 +01:00
parent e1f7aa3be3
commit 30f30ba313
No known key found for this signature in database
GPG Key ID: 7891917E4147B8C0
1 changed files with 2 additions and 2 deletions

View File

@ -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) '