Skip to content

Commit

Permalink
Make error message for missing biomaterial more informative
Browse files Browse the repository at this point in the history
  • Loading branch information
iimog committed Jun 21, 2017
1 parent f2516dd commit 0de0752
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli/import/commands/Importer_Expressions.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ static function import($options) {
$statement_get_biomaterial_id->execute(array($biomaterial_names[$i]));
$biomaterial_ids[$i] = $statement_get_biomaterial_id->fetchColumn();
if (!$biomaterial_ids[$i]) {
throw new \ErrorException('Biomaterial with this name not defined');
throw new \ErrorException('Biomaterial with this name not defined: '.$biomaterial_names[$i]);
}
}

Expand Down

0 comments on commit 0de0752

Please sign in to comment.