Skip to content

Commit

Permalink
fix code typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ahilles107 committed Dec 13, 2015
1 parent 41a865e commit 1fd9944
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion newscoop/library/Newscoop/Image/ImageService.php
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ public function upload(UploadedFile $file, array $attributes, ImageInterface $im
'quality' => 90, //from 0 to 100
));
$filesystem->chmod($thumbnailPath, 0644);
} catch (\Exceptiom $e) {
} catch (\Exception $e) {
$filesystem->remove($imagePath);
$filesystem->remove($thumbnailPath);
$this->orm->remove($image);
Expand Down

0 comments on commit 1fd9944

Please sign in to comment.