Skip to content

Commit

Permalink
Merge pull request #11209 from NilsLankila/patch-1
Browse files Browse the repository at this point in the history
fix issue 20824 - error messages generated by dmd build script can be…
merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
  • Loading branch information
dlang-bot committed Jun 2, 2020
2 parents 0347b49 + e49fa4d commit af49d06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/build.d
Expand Up @@ -1806,7 +1806,7 @@ Returns: nothing but enables `throw abortBuild` to convey the resulting behavior
*/
BuildException abortBuild(string msg = "Build failed!")
{
throw new BuildException("ERROR: " ~ msg);
throw new BuildException(msg);
}

class BuildException : Exception
Expand Down

0 comments on commit af49d06

Please sign in to comment.