mirror of
https://github.com/foss42/apidash.git
synced 2025-12-01 10:17:47 +08:00
collection_providers_test: SSE Output in ResponseBody tested
This commit is contained in:
@@ -378,7 +378,9 @@ class CollectionStateNotifier
|
||||
};
|
||||
unsave();
|
||||
}, onError: (e) {
|
||||
print('Stream error: $e');
|
||||
if (!completer.isCompleted) {
|
||||
completer.complete((null, null, 'StreamError: $e'));
|
||||
}
|
||||
});
|
||||
|
||||
final (response, duration, errorMessage) = await completer.future;
|
||||
|
||||
Reference in New Issue
Block a user