Return null rather than fall off nullable onError catchError handler. (#111581)

This commit is contained in:
Sam Rawlins
2022-09-15 21:35:19 -07:00
committed by GitHub
parent edf730c027
commit 0500962440

View File

@@ -281,6 +281,7 @@ abstract class Domain {
return null;
}).catchError((Object error, StackTrace stackTrace) {
daemon.connection.sendErrorResponse(id, _toJsonable(error), stackTrace);
return null;
});
}