mirror of https://github.com/apache/druid.git
Adding ToString() to ExceptionEvent (#12027)
For readable output for exception events, while generating the report in SeekableStreamSupervisor
This commit is contained in:
parent
1f052b43c5
commit
2539b7a748
|
@ -289,5 +289,15 @@ public class SupervisorStateManager
|
|||
.findFirst()
|
||||
.orElse(Exception.class.getName());
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString()
|
||||
{
|
||||
return "ExceptionEvent{" +
|
||||
"timestamp=" + timestamp +
|
||||
", exceptionClass='" + exceptionClass + '\'' +
|
||||
", message='" + message + '\'' +
|
||||
'}';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue