Permalink
Browse files

Replaceed a die() with exception

For better testability
  • Loading branch information...
1 parent 7d2bf52 commit 7d8ea1e5baebebc5523682221c4acad9785c8d17 @jeroenrnl committed May 27, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 php/import.inc.php
View
@@ -113,7 +113,7 @@ public static function photos(Array $files, Array $vars) {
$photo->import($file);
} catch (FileException $e) {
echo $e->getMessage();
- die();
+ throw $e;
}
if(conf::get("import.cli.thumbs")===true) {

0 comments on commit 7d8ea1e

Please sign in to comment.