Add notification_id to honeybadger context (#6124)

This commit is contained in:
Andy Zhao 2020-02-17 14:08:14 -05:00 committed by GitHub
parent d23afcd7ef
commit 6cb525900f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,7 +5,7 @@
<%= render notification.notifiable_type.downcase.to_s, notification: notification %>
</div>
<% rescue => e %>
<% Honeybadger.notify(e) %>
<% Honeybadger.notify(e, context: { notification_id: notification.id }) %>
<div class="small-pic">
<img src="https://res.cloudinary.com/practicaldev/image/fetch/s--LnVw15KE--/c_fill,f_auto,fl_progressive,h_90,q_auto,w_90/https://thepracticaldev.s3.amazonaws.com/uploads/user/profile_image/31047/af153cd6-9994-4a68-83f4-8ddf3e13f0bf.jpg"