most tests fixed
This commit is contained in:
parent
8d80eab5bd
commit
5af191eebb
1 changed files with 2 additions and 2 deletions
|
@ -100,8 +100,8 @@ class Angel extends Routable {
|
|||
_logger = new ConvertingLogger(value);
|
||||
} else if (value is Logger) {
|
||||
_logger = value;
|
||||
} else {
|
||||
throw new ArgumentError();
|
||||
} else if (value != null) {
|
||||
throw new ArgumentError('Unsupported logger: $value');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue