Browse Source

[1627] Add comment about use of try-catch blocks

Mukund Sivaraman 13 years ago
parent
commit
1a4d0ae65b
1 changed files with 4 additions and 0 deletions
  1. 4 0
      src/bin/auth/auth_config.cc

+ 4 - 0
src/bin/auth/auth_config.cc

@@ -166,6 +166,10 @@ MemoryDatasourceConfig::build(ConstElementPtr config_value) {
                       << origin->str());
         }
 
+        // Note: we don't want to have such small try-catch blocks for each
+        // specific error.  We may eventually want to introduce some unified
+        // error handling framework as we have more configuration parameters.
+        // See bug #1627 for the relevant discussion.
         InMemoryZoneFinder* imzf = NULL;
         try {
             imzf = new InMemoryZoneFinder(rrclass_, Name(origin_txt));