Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

username_not_found will be written to the logfile

  • Loading branch information...
commit ca54d489e1241b238d8efd6239397ff1aabeda9d 1 parent 8cc11b7
@ludo authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  app/controllers/main_controller.rb
View
3  app/controllers/main_controller.rb
@@ -18,7 +18,8 @@ def hashtags
def username_not_found
- redirect_to( { :action => :index }, :alert => 'username does not exist.')
+ logger.error "username does not exist: #{@screen_name}"
+ redirect_to( { :action => :index }, :alert => "username does not exist: #{@screen_name}")
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.