- Timestamp:
- Aug 14, 2022, 8:13:05 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements2/WebServer/src/UrlHandlers/ItemIconHandler.cs
r391 r399 28 28 if (!loaded) { 29 29 _context.Response.StatusCode = (int) HttpStatusCode.InternalServerError; 30 Log.Out (" Web:IconHandler: Icons not loaded");30 Log.Out ("[Web] IconHandler: Icons not loaded"); 31 31 return; 32 32 } … … 45 45 _context.Response.StatusCode = (int) HttpStatusCode.NotFound; 46 46 if (logMissingFiles) { 47 Log.Out (" Web:IconHandler:FileNotFound: \"" + _context.RequestPath + "\" ");47 Log.Out ("[Web] IconHandler: FileNotFound: \"" + _context.RequestPath + "\" "); 48 48 } 49 49 } … … 83 83 loadIconsFromFolder (GameIO.GetGameDir ("Data/ItemIcons"), tintedIcons); 84 84 } catch (Exception e) { 85 Log.Error (" Failed loading icons from base game");85 Log.Error ("[Web] Failed loading icons from base game"); 86 86 Log.Exception (e); 87 87 } … … 93 93 loadIconsFromFolder (modIconsPath, tintedIcons); 94 94 } catch (Exception e) { 95 Log.Error (" Failed loading icons from mod " + mod.ModInfo.Name.Value);95 Log.Error ("[Web] Failed loading icons from mod " + mod.ModInfo.Name.Value); 96 96 Log.Exception (e); 97 97 } … … 99 99 100 100 loaded = true; 101 Log.Out (" Web:IconHandler: Icons loaded - {0} ms", microStopwatch.ElapsedMilliseconds);101 Log.Out ("[Web] IconHandler: Icons loaded - {0} ms", microStopwatch.ElapsedMilliseconds); 102 102 103 103 return true;
Note:
See TracChangeset
for help on using the changeset viewer.