Simplify condition
This commit is contained in:
parent
7230d52dd2
commit
6780a3409c
1 changed files with 0 additions and 2 deletions
|
@ -108,8 +108,6 @@ String parseErrorForUI(
|
|||
} else {
|
||||
errorInfo = "Reason: " + dioError.type.toString();
|
||||
}
|
||||
} else if (!kDebugMode) {
|
||||
errorInfo = error.toString();
|
||||
} else {
|
||||
errorInfo = error.toString().split('Source stack')[0];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue