mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
Start passing more context to Discourse.handle_exception
This commit is contained in:
parent
2b5a955c18
commit
12cb682548
12 changed files with 109 additions and 39 deletions
|
@ -34,7 +34,7 @@ class Auth::DefaultCurrentUserProvider
|
|||
|
||||
if current_user && should_update_last_seen?
|
||||
u = current_user
|
||||
Scheduler::Defer.later do
|
||||
Scheduler::Defer.later "Updating Last Seen" do
|
||||
u.update_last_seen!
|
||||
u.update_ip_address!(request.ip)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue