Skip to content

signalr.exe ghp doesn't dispay error message about generating hubproxy javascript for server Hub classes #2769

@Xiaohongt

Description

@Xiaohongt

e.g. when server Hub classes have duplicate Hubs, signalr.exe ghp only returns error like below which doesn't display the error message about generating hubproxy javascript:

Error: System.Net.WebException: The remote server returned an error: (500) Internal Server Error.
at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)
at System.Net.WebClient.DownloadString(Uri address)
at Microsoft.AspNet.SignalR.Utils.GenerateHubProxyCommand.OutputHubsFromUrl(String url, String outputPath, Boolean ab
solute) in e:\dd\SignalR_Release_2.0\SignalR\src\Microsoft.AspNet.SignalR.Utils\Commands\GenerateHubProxyCommand.cs:line
133
at Microsoft.AspNet.SignalR.Utils.GenerateHubProxyCommand.Execute(String[] args) in e:\dd\SignalR_Release_2.0\SignalR
\src\Microsoft.AspNet.SignalR.Utils\Commands\GenerateHubProxyCommand.cs:line 60
at Microsoft.AspNet.SignalR.Utils.Program.Main(String[] args) in e:\dd\SignalR_Release_2.0\SignalR\src\Microsoft.AspN
et.SignalR.Utils\Program.cs:line 43

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions