Parcourir la source

[2672] Fix duplicate use of message ID

This is not allowed by our coding style. Use the correct message ID
instead (which was previously unused).
Mukund Sivaraman il y a 12 ans
Parent
commit
3fa52fbaed
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/bin/stats/stats_httpd.py.in

+ 1 - 1
src/bin/stats/stats_httpd.py.in

@@ -413,7 +413,7 @@ class StatsHttpd:
         try:
         try:
             self.open_httpd()
             self.open_httpd()
         except HttpServerError as err:
         except HttpServerError as err:
-            logger.error(STATSHTTPD_SERVER_ERROR, err)
+            logger.error(STATSHTTPD_SERVER_INIT_ERROR, err)
             # restore old config
             # restore old config
             self.load_config(old_config)
             self.load_config(old_config)
             self.open_httpd()
             self.open_httpd()