diff options
author | 2011-08-16 14:38:56 +0200 | |
---|---|---|
committer | 2011-08-16 14:38:56 +0200 | |
commit | 88edad8c124f219430cd79af8a8ee74244379549 (patch) | |
tree | d43ff0602baaf5d081a3cd4b4e18aefa15068e1d | |
parent | Only autoload lib/, not lib/**/ (diff) | |
download | glsamaker-88edad8c124f219430cd79af8a8ee74244379549.tar.gz glsamaker-88edad8c124f219430cd79af8a8ee74244379549.tar.bz2 glsamaker-88edad8c124f219430cd79af8a8ee74244379549.zip |
glsa_controller: Log revision creation errors
-rw-r--r-- | app/controllers/glsa_controller.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/glsa_controller.rb b/app/controllers/glsa_controller.rb index 3052591..f0f2f50 100644 --- a/app/controllers/glsa_controller.rb +++ b/app/controllers/glsa_controller.rb @@ -59,6 +59,7 @@ class GlsaController < ApplicationController flash[:notice] = "Successfully created GLSA #{glsa.glsa_id}" redirect_to :action => "requests" rescue Exception => e + log_error e flash.now[:error] = e.message render :action => "new-request" end |