Project

General

Profile

Actions

Bug / Feature #4409

closed

Redmine Fehler

Added by Apophis about 13 years ago. Updated about 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Apophis
Category:
-
Target version:
-
Start date:
20 January 2013
Due date:
03 February 2013
% Done:

100%

Estimated time:
2.00 h
Request Type:
Bug Report

Description

Redmine sollte saubere Fehler ohne Stacktrace ausgeben.

Testcase:
http://projects.piratenpartei.ch/issues/2588

  • Konfiguration Thin?
  • Production
Actions #1

Updated by Apophis about 13 years ago

  • Description updated (diff)
Actions #2

Updated by Apophis about 13 years ago

  • Status changed from New to Needs Work
Actions #3

Updated by Apophis about 13 years ago

Problem was we are only working with local ip's, and on local IPs it always delievers the stack trace.

I added the following to the application_controller.rb

 def local_request?(*args)
   return false
 end

Now the HTML pages from

public

are delievered.

example 404: http://projects.piratenpartei.ch/pad/edit/50

Actions #4

Updated by Apophis about 13 years ago

  • Status changed from Needs Work to Done
  • % Done changed from 0 to 100
Actions #5

Updated by Apophis about 13 years ago

  • Status changed from Done to Closed
Actions

Also available in: Atom PDF