From 8e52c1b0fbdb6e0856af2352221d8ea6ddba5f0a Mon Sep 17 00:00:00 2001 From: Will Richard Date: Wed, 10 Sep 2014 12:42:05 -0400 Subject: [PATCH] Remove logging if the config is missing Attempting to log here causes collins to complain, and everything can handle it if this returns None anyway --- app/util/config/ConfigAccessor.scala | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/util/config/ConfigAccessor.scala b/app/util/config/ConfigAccessor.scala index 9edb6dac8..e42dc6f50 100644 --- a/app/util/config/ConfigAccessor.scala +++ b/app/util/config/ConfigAccessor.scala @@ -129,8 +129,6 @@ trait ConfigAccessor { underlying.flatMap(cfg => Option(p(cfg))) } catch { case e: ConfigException.Missing => - Logger(getClass).warn("Missing value for key '%s'".format(path)) - None } }