[ARVADOS] updated: 20f944be863d7d455534ebac0083c25869a3379d

git at public.curoverse.com git at public.curoverse.com
Wed Jul 30 10:35:28 EDT 2014


Summary of changes:
 services/api/app/controllers/application_controller.rb | 1 +
 1 file changed, 1 insertion(+)

       via  20f944be863d7d455534ebac0083c25869a3379d (commit)
      from  4f78624e3134bdf838d219e1a983dda0945e70c9 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 20f944be863d7d455534ebac0083c25869a3379d
Author: Tom Clegg <tom at curoverse.com>
Date:   Wed Jul 30 10:35:09 2014 -0400

    Report validation error messages in server log. refs #3415

diff --git a/services/api/app/controllers/application_controller.rb b/services/api/app/controllers/application_controller.rb
index 8464a4a..4a1a7d4 100644
--- a/services/api/app/controllers/application_controller.rb
+++ b/services/api/app/controllers/application_controller.rb
@@ -106,6 +106,7 @@ class ApplicationController < ActionController::Base
     end
     if @object and @object.errors and @object.errors.full_messages and not @object.errors.full_messages.empty?
       errors = @object.errors.full_messages
+      logger.error errors.inspect
     else
       errors = [e.inspect]
     end

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list