summaryrefslogtreecommitdiff
path: root/modules/g2_import
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2010-11-08 10:06:56 -0800
committerBharat Mediratta <bharat@menalto.com>2010-11-08 10:06:56 -0800
commit35d933cf7f8db4cfa79e4985e6b38433f4457a45 (patch)
tree7cb78120ce3ed73af5ba2c6c40b25e6fecc253f5 /modules/g2_import
parent359a081f151d36066de1c8bbbf17dd525ef044fe (diff)
Dump something in the logs if GalleryEmbed::init() fails.
Diffstat (limited to 'modules/g2_import')
-rw-r--r--modules/g2_import/helpers/g2_import.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/g2_import/helpers/g2_import.php b/modules/g2_import/helpers/g2_import.php
index 515eb73d..678dac3b 100644
--- a/modules/g2_import/helpers/g2_import.php
+++ b/modules/g2_import/helpers/g2_import.php
@@ -157,6 +157,7 @@ class g2_import_Core {
$ret = GalleryEmbed::init();
if ($ret) {
+ Kohana_Log::add("error", "Gallery 2 call failed with: " . $ret->getAsText());
return false;
}