Permalink
Browse files

Always define AppConfig to get the nice error

NOTE: Config file may exist but running user may not
have access to it.

Change-Id: I1b46a08880821b9aaa02085447057bd34605a73f
  • Loading branch information...
1 parent 31ab65c commit 8c81a227ff49795d2999d65e17be5b036cf64e84 @drnic drnic committed Nov 24, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 cloud_controller/config/appconfig.rb
@@ -15,6 +15,8 @@
else
AppConfig = nil
end
+ else
+ AppConfig = nil
end
rescue => ex
$stderr.puts %[FATAL: Exception encountered while loading config file: #{ex}\n#{ex.backtrace.join("\n")}]

0 comments on commit 8c81a22

Please sign in to comment.