Skip to content

Commit dd55a78

Browse files
authored
Merge pull request #288 from fr3nch13/master
Fixes an issue that I introduced when validating an incoming response.
2 parents cb63ae6 + 6d95dd8 commit dd55a78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)