mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2025-06-02 09:51:47 +00:00
Improved error reporting a little and changes the list in the Warnings & Errors dialog window
This commit is contained in:
parent
1fc8947d29
commit
ec40df4765
33 changed files with 195 additions and 163 deletions
|
@ -156,7 +156,7 @@ namespace CodeImp.DoomBuilder.Controls
|
|||
catch(Exception e)
|
||||
{
|
||||
// Failed
|
||||
General.ErrorLogger.Add(ErrorType.Error, "Cannot open file '" + filepathname + "' for writing");
|
||||
General.ErrorLogger.Add(ErrorType.Error, "Cannot open file '" + filepathname + "' for writing. Make sure the path exists and that the file is not in use by another application.");
|
||||
General.WriteLogLine(e.GetType().Name + ": " + e.Message);
|
||||
General.ShowErrorMessage("Unable to open file \"" + filepathname + "\" for writing. Make sure the path exists and that the file is not in use by another application.", MessageBoxButtons.OK);
|
||||
return false;
|
||||
|
@ -196,7 +196,7 @@ namespace CodeImp.DoomBuilder.Controls
|
|||
catch(Exception e)
|
||||
{
|
||||
// Failed
|
||||
General.ErrorLogger.Add(ErrorType.Error, "Cannot open file '" + filepathname + "' for reading");
|
||||
General.ErrorLogger.Add(ErrorType.Error, "Cannot open file '" + filepathname + "' for reading. Make sure the path exists and that the file is not in use by another application.");
|
||||
General.WriteLogLine(e.GetType().Name + ": " + e.Message);
|
||||
General.ShowErrorMessage("Unable to open file \"" + filepathname + "\" for reading. Make sure the path exists and that the file is not in use by another application.", MessageBoxButtons.OK);
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue