Permalink
Browse files

Merge branch 'master' into webit

  • Loading branch information...
2 parents dd044ff + 74fd10f commit 537bc147aec6361d394160a1c3333e0c1cebdc42 @jkraemer committed Mar 22, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/controllers/notices_controller.rb
@@ -146,7 +146,7 @@ def parse_backtrace(lines)
end
def filter_backtrace(project, backtrace)
- project_trace_filters = ((project.custom_value_for(@trace_filter_field).value rescue '') || '').split(/[,\s\n\r]+/)
+ project_trace_filters = project.custom_value_for(@trace_filter_field).value.split(/[,\s\n\r]+/) rescue []
backtrace.reject do |line|
(TRACE_FILTERS + project_trace_filters).map do |filter|
line['file'].scan(filter)

0 comments on commit 537bc14

Please sign in to comment.