Skip to content

Commit

Permalink
[kernel-service] Do not truncate errors generated by CFE
Browse files Browse the repository at this point in the history
The errorString method was truncating the errors generated by CFE.

#56721

TEST=ci

Change-Id: I968f6dd481184a5e0f4a13bab85297e2fcc9b525
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/385360
Commit-Queue: Siva Annamalai <[email protected]>
Reviewed-by: Sigmund Cherem <[email protected]>
  • Loading branch information
a-siva authored and Commit Queue committed Sep 13, 2024
1 parent 18bf3f3 commit 351e103
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/vm/bin/kernel_service.dart
Original file line number Diff line number Diff line change
Expand Up @@ -1223,7 +1223,7 @@ class _CompilationError extends _CompilationFail {
Status get status => Status.error;

@override
String get errorString => errors.take(10).join('\n');
String get errorString => errors.join('\n');

String toString() => "_CompilationError(${errorString})";

Expand Down

0 comments on commit 351e103

Please sign in to comment.