Skip to content

Commit

Permalink
Dump something in the logs if GalleryEmbed::init() fails.
Browse files Browse the repository at this point in the history
  • Loading branch information
bharat committed Nov 8, 2010
1 parent 359a081 commit 35d933c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/g2_import/helpers/g2_import.php
Expand Up @@ -157,6 +157,7 @@ static function init_embed($embed_path) {

$ret = GalleryEmbed::init();
if ($ret) {
Kohana_Log::add("error", "Gallery 2 call failed with: " . $ret->getAsText());
return false;
}

Expand Down

0 comments on commit 35d933c

Please sign in to comment.