Skip to content

Commit 6d95dd8

Browse files
committed
Update Response.php
1 parent cb63ae6 commit 6d95dd8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Runtime/Http/Response.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ public function validate(){
4747
if (array_key_exists('X-MSDAVEXT_Error', $headers)) {
4848
$this->Content = urldecode($headers['X-MSDAVEXT_Error']);
4949
}
50+
throw new RequestException($this->Content,$this->StatusCode);
5051
}
51-
throw new RequestException($this->Content,$this->StatusCode);
5252
}
5353
}
5454

0 commit comments

Comments
 (0)