diff --git a/example/feeds.dart b/example/feeds.dart index 974d4e6..3230052 100644 --- a/example/feeds.dart +++ b/example/feeds.dart @@ -106,8 +106,8 @@ class ReadCommand extends RssCommand { stdout.writeln('$title ($link)'); } } - }, onError: (error) { - stderr.writeln(error.toString()); + }, onError: (dynamic error) { + stderr.writeln(error); }).asFuture(); }