Rails‎ > ‎

Rails - Exceptions and Errors

printing full stack trace

rescue Exception => err
      puts err.inspect
      puts err.backtrace
      flash[:error] = err.message
      redirect_to(:controller => "manager", :action => "dashboard")
    end
Comments