1
0
mirror of https://github.com/cmur2/dyndnsd.git synced 2025-08-07 22:33:55 +02:00

dyndnsd: handle potential nil cases detected by sorbet

- including review suggestions from @jgraichen
This commit is contained in:
cn
2020-02-28 16:44:27 +01:00
parent 0317189057
commit af5e4ca3e0
5 changed files with 18 additions and 6 deletions

View File

@@ -57,7 +57,7 @@ module Dyndnsd
'error.kind': e.class.to_s,
'error.object': e,
message: e.message,
stack: e.backtrace.join("\n")
stack: e.backtrace&.join("\n") || ''
)
raise
ensure