From 64d6b05657df99cc6f5cda5accf7519218a0e624 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Sun, 15 Jun 2014 15:28:24 +0200 Subject: [PATCH] Improved debug info of self.reload_classes. --- app/models/package.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/models/package.rb b/app/models/package.rb index e0c4d2dc4..77aec2b9b 100644 --- a/app/models/package.rb +++ b/app/models/package.rb @@ -315,6 +315,7 @@ class Package < ApplicationModel begin load entry rescue => e + puts "TRIED TO RELOAD '#{entry}'" puts 'ERROR: ' + e.inspect puts 'Traceback: ' + e.backtrace end