- Timestamp:
- Aug 14, 2022, 8:13:05 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements2/WebServer/src/UrlHandlers/SseHandler.cs
r391 r399 58 58 59 59 if (!events.TryGetValue (eventName, out AbsEvent eventInstance)) { 60 Log. Out ($"Error in {nameof (SseHandler)}.HandleRequest(): No handler found for event \"{eventName}\"");60 Log.Warning ($"[Web] [SSE] In {nameof (SseHandler)}.HandleRequest(): No handler found for event \"{eventName}\""); 61 61 _context.Response.StatusCode = (int)HttpStatusCode.NotFound; 62 62 return; … … 81 81 _context.Response.OutputStream.Flush (); 82 82 } catch (Exception e) { 83 Log.Error ($" Error in {nameof (SseHandler)}.HandleRequest(): Handler {eventInstance.Name} threw an exception:");83 Log.Error ($"[Web] [SSE] In {nameof (SseHandler)}.HandleRequest(): Handler {eventInstance.Name} threw an exception:"); 84 84 Log.Exception (e); 85 85 _context.Response.StatusCode = (int)HttpStatusCode.InternalServerError; … … 99 99 eventHandler.ProcessSendQueue (); 100 100 } catch (Exception e) { 101 Log.Error ($" SSE ({eventName}): Error processing send queue");101 Log.Error ($"[Web] [SSE] '{eventName}': Error processing send queue"); 102 102 Log.Exception (e); 103 103 }
Note:
See TracChangeset
for help on using the changeset viewer.