mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-19 15:05:36 +02:00
Bug 514021 - Corrupted database only prints Error as message
When the pdom for a project it corrupted, the only message in the console/log is "Error". The DBStatus class accepts a message string as a parameter and doesn't use it. If it's changed to use it, then a more useful message is printed: "Corrupted database: foo.1487621676851.pdom" Change-Id: I0d4fb0b97fe1c63661941130e14edea18d0f26ee Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
This commit is contained in:
parent
2b302b9688
commit
e44a300af7
1 changed files with 1 additions and 1 deletions
|
@ -28,6 +28,6 @@ public class DBStatus extends Status {
|
|||
}
|
||||
|
||||
public DBStatus(String msg) {
|
||||
super(IStatus.ERROR, CCorePlugin.PLUGIN_ID, 0, "Error", null); //$NON-NLS-1$
|
||||
super(IStatus.ERROR, CCorePlugin.PLUGIN_ID, 0, msg, null);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue