Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

overlay debug info only when backtrace is on

  • Loading branch information...
commit b900d24c8bc2a9ce5f30d7ce0957d6aaf0452b6c 1 parent 4b7ed21
@mkristian authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/datamapper4rails/overlay.rb
View
2  lib/datamapper4rails/overlay.rb
@@ -49,7 +49,7 @@ def source_path(relative_source)
file = path.nil? ? name : path
dirs.each do |dir|
if (f = File.join(dir, file)) and File.exists?(f)
- logger.overlay f
+ logger.overlay f if options[:backtrace]
return f
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.