Merge pull request #37 from TouchInstinct/fix/json-ignore-error

Ignore LogData error when convert to json
This commit is contained in:
Mikhail Yasnov 2021-07-19 18:58:03 +03:00 committed by GitHub
commit de1778463a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -1,11 +1,13 @@
package ru.touchin.logger.dto
import com.fasterxml.jackson.annotation.JsonIgnore
import ru.touchin.logger.context.LogExecutionContextData
class LogData {
val tags = mutableSetOf<String>()
@JsonIgnore
var error: Throwable? = null
var duration: Long? = null