Skip to content

Commit 8103f67

Browse files
committed
#8 HttpListenerException -> Exception
1 parent 3193058 commit 8103f67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Prometheus.Client.MetricServer/MetricServer.HttpListener.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ private void StartListen()
151151
}
152152
}
153153

154-
catch (HttpListenerException ex)
154+
catch (Exception ex)
155155
{
156156
Trace.WriteLine($"Error in MetricServer: {ex}");
157157
}

0 commit comments

Comments
 (0)