Move ConfigException to a separate file
This commit is contained in:
@@ -0,0 +1,2 @@
|
|||||||
|
class ConfigException(Exception):
|
||||||
|
pass
|
||||||
@@ -1,3 +1,5 @@
|
|||||||
|
from cartodb_services.refactor.config.exceptions import ConfigException
|
||||||
|
|
||||||
class LoggerConfig(object):
|
class LoggerConfig(object):
|
||||||
|
|
||||||
"""This class is a value object needed to setup a Logger"""
|
"""This class is a value object needed to setup a Logger"""
|
||||||
@@ -24,9 +26,6 @@ class LoggerConfig(object):
|
|||||||
def min_log_level(self):
|
def min_log_level(self):
|
||||||
return self._min_log_level
|
return self._min_log_level
|
||||||
|
|
||||||
class ConfigException(Exception):
|
|
||||||
pass
|
|
||||||
|
|
||||||
# TODO this needs tests
|
# TODO this needs tests
|
||||||
# TODO FTM this is just config, maybe move around
|
# TODO FTM this is just config, maybe move around
|
||||||
class LoggerConfigBuilder(object):
|
class LoggerConfigBuilder(object):
|
||||||
|
|||||||
Reference in New Issue
Block a user