Skip to content

Commit

Permalink
Add type to missing config message (#411)
Browse files Browse the repository at this point in the history
  • Loading branch information
rocketraman committed Mar 31, 2024
1 parent a13bf6c commit c5ea754
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ sealed interface ConfigFailure {
}

data class MissingConfigValue(val type: KType) : ConfigFailure {
override fun description(): String = "Missing from config"
override fun description(): String = "Missing ${type.simpleName} from config"
}

data class Generic(val msg: String) : ConfigFailure {
Expand Down

0 comments on commit c5ea754

Please sign in to comment.