Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Binary/CLI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public void ImportEndscript(string path)
catch (Exception ex)
{

var error = $"Error has occured -> File: {parser.CurrentFile}, Line: {parser.CurrentIndex}" +
var error = $"Error has occurred -> File: {parser.CurrentFile}, Line: {parser.CurrentIndex}" +
Environment.NewLine + $"Command: [{parser.CurrentLine}]" + Environment.NewLine +
$"Error: {ex.GetLowestMessage()}";

Expand Down
4 changes: 2 additions & 2 deletions Binary/Editor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ private void EMSMainImportEndscript_Click(object sender, EventArgs e)
catch (Exception ex)
{

var error = $"Error has occured -> File: {parser.CurrentFile}, Line: {parser.CurrentIndex}" +
var error = $"Error has occurred -> File: {parser.CurrentFile}, Line: {parser.CurrentIndex}" +
Environment.NewLine + $"Command: [{parser.CurrentLine}]" + Environment.NewLine +
$"Error: {ex.GetLowestMessage()}";

Expand Down Expand Up @@ -790,7 +790,7 @@ private void EMSScriptingRunAll_Click(object sender, EventArgs e)
catch (Exception ex)
{

var error = $"Error has occured -> Line: {count}" + Environment.NewLine +
var error = $"Error has occurred -> Line: {count}" + Environment.NewLine +
$"Command: [{command}]" + Environment.NewLine + $"Error: {ex.GetLowestMessage()}";

MessageBox.Show(error, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
Expand Down
2 changes: 1 addition & 1 deletion Binary/IntroUI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ private void UserInteract()
catch (Exception ex)
{

var error = $"Error has occured -> File: {parser.CurrentFile}, Line: {parser.CurrentIndex}" +
var error = $"Error has occurred -> File: {parser.CurrentFile}, Line: {parser.CurrentIndex}" +
Environment.NewLine + $"Command: [{parser.CurrentLine}]" + Environment.NewLine +
$"Error: {ex.GetLowestMessage()}";

Expand Down
4 changes: 2 additions & 2 deletions Binary/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ public static void ThreadExceptionHandler(object sender, ThreadExceptionEventArg
logger.WriteException(e.Exception);

#if DEBUG
MessageBox.Show("Unexpected error has occured. Please send MainLog.txt " +
MessageBox.Show("Unexpected error has occurred. Please send MainLog.txt " +
"file to developer (MaxHwoy). Right now Binary will export all your " +
"collections to an autogenerated folder so you won't lose your data.",
"Warning", MessageBoxButtons.OK, MessageBoxIcon.Error);
Expand Down Expand Up @@ -178,7 +178,7 @@ public static void ThreadExceptionHandler(object sender, ThreadExceptionEventArg

#else

MessageBox.Show($"Unexpected error has occured: {e.Exception.GetLowestMessage()}", "Error",
MessageBox.Show($"Unexpected error has occurred: {e.Exception.GetLowestMessage()}", "Error",
MessageBoxButtons.OK, MessageBoxIcon.Error);

#endif
Expand Down