We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff7cc06 commit 783eaa5Copy full SHA for 783eaa5
sdk/storage/azure-storage-common/src/main/java/com/azure/storage/common/StorageInputStream.java
@@ -160,7 +160,7 @@ public synchronized int available() {
160
*/
161
private synchronized void checkStreamState() {
162
if (this.streamFaulted) {
163
- throw LOGGER.logExceptionAsError(new RuntimeException(this.lastError.getMessage()));
+ throw LOGGER.logExceptionAsError(new RuntimeException(this.lastError.getMessage(), this.lastError));
164
}
165
166
0 commit comments