note that error.cause will be `object NoCause extends NoStackTrace` when error logging without Throwable
above might not cause any trouble, but you might consider to guard it with `if event.cause != Error.NoCause`