This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git
The following commit(s) were added to refs/heads/master by this push:
new 32f36dbd Improved info
32f36dbd is described below
commit 32f36dbdad01e9dd95b4e852c3fda04f1f85c112
Author: Sebb <[email protected]>
AuthorDate: Fri Jan 26 23:18:48 2024 +0000
Improved info
---
lib/whimsy/asf/rack.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/whimsy/asf/rack.rb b/lib/whimsy/asf/rack.rb
index 829a6786..4dad465f 100644
--- a/lib/whimsy/asf/rack.rb
+++ b/lib/whimsy/asf/rack.rb
@@ -18,7 +18,7 @@ module ASF
if auth.to_s.empty?
env.user = env['REMOTE_USER'] || ENV['USER'] || Etc.getpwuid.name
- Wunderbar.warn "No auth found for #{env.user} at #{caller[0..2]}"
+ Wunderbar.warn "No auth found for #{env.user} at #{caller.select{|s| s
=~ %r{/srv/whimsy/}}}}"
else
require 'base64'
env.user, env.password = Base64.