- Timestamp:
- Aug 14, 2022, 8:13:05 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements2/WebServer/src/UrlHandlers/ApiHandler.cs
r394 r399 64 64 65 65 if (!apis.TryGetValue (apiName, out AbsWebAPI api)) { 66 Log. Out ($"Error in {nameof(ApiHandler)}.HandleRequest(): No handler found for API \"{apiName}\"");66 Log.Warning ($"[Web] In {nameof(ApiHandler)}.HandleRequest(): No handler found for API \"{apiName}\""); 67 67 _context.Response.StatusCode = (int) HttpStatusCode.NotFound; 68 68 return; … … 85 85 apiHandlerSampler.End (); 86 86 } catch (Exception e) { 87 Log.Error ($" Error in {nameof(ApiHandler)}.HandleRequest(): Handler {api.Name} threw an exception:");87 Log.Error ($"[Web] In {nameof(ApiHandler)}.HandleRequest(): Handler {api.Name} threw an exception:"); 88 88 Log.Exception (e); 89 89 _context.Response.StatusCode = (int) HttpStatusCode.InternalServerError;
Note:
See TracChangeset
for help on using the changeset viewer.