mirror of https://github.com/apache/druid.git
fix logging
This commit is contained in:
parent
12f4147df5
commit
197c80a694
|
@ -76,7 +76,7 @@ public class LoggingProgressIndicator extends BaseProgressIndicator
|
||||||
@Override
|
@Override
|
||||||
public void progressSection(String section, String message)
|
public void progressSection(String section, String message)
|
||||||
{
|
{
|
||||||
Stopwatch sectionWatch = sections.remove(section);
|
Stopwatch sectionWatch = sections.get(section);
|
||||||
if (sectionWatch == null) {
|
if (sectionWatch == null) {
|
||||||
throw new ISE("[%s]: Cannot progress tracker for [%s]. Nothing started.", progressName, section);
|
throw new ISE("[%s]: Cannot progress tracker for [%s]. Nothing started.", progressName, section);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue