From c8c73ccddedcb64f9989e3d5a9f15240b476b551 Mon Sep 17 00:00:00 2001 From: Rob Mensching Date: Fri, 27 Jul 2018 00:35:52 -0700 Subject: Remove WixFileNotFoundException, report checked paths and improve bind path command-line parsing --- src/WixToolset.Core.WindowsInstaller/Bind/GenerateDatabaseCommand.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/WixToolset.Core.WindowsInstaller') diff --git a/src/WixToolset.Core.WindowsInstaller/Bind/GenerateDatabaseCommand.cs b/src/WixToolset.Core.WindowsInstaller/Bind/GenerateDatabaseCommand.cs index 1a77b84e..3ab3b601 100644 --- a/src/WixToolset.Core.WindowsInstaller/Bind/GenerateDatabaseCommand.cs +++ b/src/WixToolset.Core.WindowsInstaller/Bind/GenerateDatabaseCommand.cs @@ -334,10 +334,10 @@ namespace WixToolset.Core.WindowsInstaller.Bind db.Commit(); } } - catch (IOException) + catch (IOException e) { // TODO: this error message doesn't seem specific enough - throw new WixFileNotFoundException(new SourceLineNumber(this.OutputPath), this.OutputPath); + throw new WixException(ErrorMessages.FileNotFound(new SourceLineNumber(this.OutputPath), this.OutputPath), e); } } -- cgit v1.2.3-55-g6feb