src/Palete/RooDatabase.vala
authorAlan Knowles <alan@roojs.com>
Wed, 22 Apr 2015 10:00:08 +0000 (18:00 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 22 Apr 2015 10:00:08 +0000 (18:00 +0800)
src/Palete/RooDatabase.vala

index 34f33ee..67d084c 100644 (file)
@@ -11,7 +11,7 @@
 namespace Palete {
 
   
-   class RooDatabase : Object 
+    public class RooDatabase : Object 
     {
         public Project.Project project;
 
@@ -35,9 +35,11 @@ namespace Palete {
                                        Gda.ConnectionOptions.NONE
                                );
                        } catch(Gda.ConfigError e) {
+                               print("%s\n", e.message);
                                this.cnc  = null;
                                this.DBTYPE = "";
                        } catch(Gda.ConnectionError e) {
+                               print("%s\n", e.message);
                                this.cnc  = null;
                                this.DBTYPE = "";
                        }