Add sysrepo error handling

Change-Id: I810de1afd0ad6161a18903f816e19db28ed9edf1
diff --git a/src/main.cpp b/src/main.cpp
index 4ba886e..3019d36 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -78,6 +78,8 @@
             boost::apply_visitor(Interpreter(parser, datastore), cmd);
         } catch (InvalidCommandException& ex) {
             std::cerr << ex.what() << std::endl;
+        } catch (DatastoreException& ex) {
+            std::cerr << ex.what() << std::endl;
         }
 
         lineEditor.history_add(line);