GP-2452: Some tweaking of error report for opening old traces.

This commit is contained in:
Dan 2022-08-22 16:46:31 -04:00
parent 313676b083
commit dd4d2e0283
2 changed files with 4 additions and 2 deletions

View file

@ -692,8 +692,10 @@ public class DebuggerTraceManagerServicePlugin extends Plugin
return trace; return trace;
} }
catch (VersionException e) { catch (VersionException e) {
// TODO: Support upgrading
e = new VersionException(e.getVersionIndicator(), false).combine(e);
VersionExceptionHandler.showVersionError(null, file.getName(), file.getContentType(), VersionExceptionHandler.showVersionError(null, file.getName(), file.getContentType(),
"Open Trace", e); "Open", e);
return null; return null;
} }
catch (IOException e) { catch (IOException e) {

View file

@ -312,7 +312,7 @@ public class DBTraceContentHandler extends DBContentHandler {
@Override @Override
public String getDefaultToolName() { public String getDefaultToolName() {
return "Debugger"; // TODO: Actually make this tool return "Debugger";
} }
@Override @Override