Skip to content

Commit 76095e3

Browse files
update: removed extra exception messages
1 parent 4f4cf1e commit 76095e3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

SimpleFileHandler.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,9 @@ public static void ProjectToLocation(Assembly ExecutingAssembly, string FileName
3434
ExecutingAssembly.GetManifestResourceStream(ExecutingAssembly.EntryPoint.DeclaringType.Namespace + "." + Path.GetFileName(FileName)).CopyTo(ProjectFileStream);
3535
ProjectFileStream.Close();
3636
}
37-
catch (Exception exception)
37+
catch
3838
{
3939
Console.WriteLine("Cannot copy project file. Please make sure the file's build action is set to 'Embedded Resource'.");
40-
Console.WriteLine(exception.Message);
4140
}
4241
}
4342

0 commit comments

Comments
 (0)