diff --git a/src/Bkwld/Croppa/Image.php b/src/Bkwld/Croppa/Image.php index edbb1f9..3a9a6c6 100644 --- a/src/Bkwld/Croppa/Image.php +++ b/src/Bkwld/Croppa/Image.php @@ -62,8 +62,11 @@ public function applyFilters($options) { * @return $this */ public function autoRotate() { - $this->thumb->rotateJpg(); - return $this; + try { + $this->thumb->rotateJpg(); + } finally { + return $this; + } } /**