Skip to content

Commit 760dc10

Browse files
committed
Adding a warning about the Cannot find resource model output in merbs logs
1 parent 926941a commit 760dc10

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎chef-server/lib/init.rb‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@
8888
# create the couch design docs for nodes and openid registrations
8989
Chef::Node.create_design_document
9090
Chef::OpenIDRegistration.create_design_document
91-
9291
# dependency "magic_admin" # this gem uses the app's model classes
9392
end
9493

@@ -165,7 +164,8 @@
165164
end
166165

167166
Chef::Log.logger = Merb.logger
168-
Chef::Log.error("Compiling routes...")
167+
Chef::Log.info("Compiling routes... (totally normal to see 'Cannot find resource model')")
168+
169169
Merb::Router.prepare do |r|
170170
# RESTful routes
171171
# r.resources :posts

0 commit comments

Comments
 (0)