[Error codes] Increase visibility of formatContextAsString (#13304)

changelog_begin
changelog_end
This commit is contained in:
pbatko-da 2022-03-16 13:26:57 +01:00 committed by GitHub
parent 5bd58a907f
commit b63fdc7031
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,7 +19,7 @@ trait ContextualizedErrorLogger {
object ContextualizedErrorLogger {
/** Formats the context as a string for logging */
protected[error] def formatContextAsString(contextMap: Map[String, String]): String = {
def formatContextAsString(contextMap: Map[String, String]): String = {
contextMap
.filter(_._2.nonEmpty)
.toSeq