diff options
Diffstat (limited to 'src/linker/Linker.Steps/OutputStep.cs')
-rw-r--r-- | src/linker/Linker.Steps/OutputStep.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/linker/Linker.Steps/OutputStep.cs b/src/linker/Linker.Steps/OutputStep.cs index 8ade14a28..ae833303e 100644 --- a/src/linker/Linker.Steps/OutputStep.cs +++ b/src/linker/Linker.Steps/OutputStep.cs @@ -126,7 +126,7 @@ namespace Mono.Linker.Steps try { assembly.Write (outputName, writerParameters); } catch (Exception e) { - throw new OutputException ($"Failed to write '{outputName}", e); + throw new LinkerFatalErrorException (MessageContainer.CreateErrorMessage ($"Failed to write '{outputName}", 1011), e); } } |