Skip to content
Snippets Groups Projects

OZG-7262 OZG-7566 Notify callObserver about error

Merged Krzysztof Witukiewicz requested to merge OZG-7262-downloader-error-handling into main
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -109,8 +109,8 @@ public class GrpcBinaryFileServerDownloader<T> {
@@ -109,8 +109,8 @@ public class GrpcBinaryFileServerDownloader<T> {
doDownload();
doDownload();
sendChunks();
sendChunks();
} catch (Exception e) {
} catch (Exception e) {
LOG.error("Error while downloading file contents", e);
downloadError.set(new TechnicalException("Error while downloading file contents", e));
downloadError.set(new TechnicalException("Error while downloading file contents", e));
 
LOG.error(downloadError.get().getMessage(), downloadError.get());
} finally {
} finally {
closeOutputStream();
closeOutputStream();
}
}
Loading