lib/dyndnsd/helper.rb in dyndnsd-2.1.0 vs lib/dyndnsd/helper.rb in dyndnsd-2.1.1
- old
+ new
@@ -55,10 +55,10 @@
span.log_kv(
event: 'error',
'error.kind': e.class.to_s,
'error.object': e,
message: e.message,
- stack: e.backtrace.join("\n")
+ stack: e.backtrace&.join("\n") || ''
)
raise
ensure
scope.close
end