r1076@llin: dpavlin | 2006-10-08 02:31:04 +0200
authorDobrica Pavlinusic <dpavlin@rot13.org>
Sun, 8 Oct 2006 00:38:10 +0000 (00:38 +0000)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Sun, 8 Oct 2006 00:38:10 +0000 (00:38 +0000)
 don't dump undef data_structure in debug log

git-svn-id: svn+ssh://mjesec/home/dpavlin/svn/webpac2/trunk@742 07558da8-63fa-0310-ba24-9fe276d99e06

run.pl

diff --git a/run.pl b/run.pl
index 42f1c64..be1cf1c 100755 (executable)
--- a/run.pl
+++ b/run.pl
@@ -487,7 +487,7 @@ while (my ($database, $db_config) = each %{ $config->databases }) {
                                },
                        );
 
-                       $log->debug("ds = ",dump($ds));
+                       $log->debug("ds = ",dump($ds)) if ($ds);
 
                        $store->save_ds(
                                database => $database,