Fixup Constant some token exception
This commit is contained in:
@@ -9,7 +9,7 @@ abstract class CacheException with EquatableMixin implements Exception {
|
||||
|
||||
@override
|
||||
String toString() {
|
||||
if (message != null) {
|
||||
if (message?.trim().isNotEmpty == true) {
|
||||
return '$exceptionName: $message';
|
||||
}
|
||||
return exceptionName;
|
||||
|
||||
Reference in New Issue
Block a user