Skip to content

Commit e3da173

Browse files
Merge pull request #8986 from alphaprinz/notif_backports_19
[backport into 5.19] bucket notifications - use node name in eventSource for NC (#8983)
2 parents 9eb0742 + 8d27c00 commit e3da173

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/util/notifications_util.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ class Notificator {
161161

162162
async handle_failed_notification(notif, failure_append, err) {
163163
if (this.nc_config_fs) {
164-
new NoobaaEvent(NoobaaEvent.NOTIFICATION_FAILED).create_event(notif?.meta?.name, err, err.toString());
164+
new NoobaaEvent(NoobaaEvent.NOTIFICATION_FAILED).create_event(notif?.meta?.name, err, err?.toString());
165165
}
166166

167167
if (notif) {

0 commit comments

Comments
 (0)