diff --git a/UIFixes.csproj b/UIFixes.csproj index 541d334..8f3c137 100644 --- a/UIFixes.csproj +++ b/UIFixes.csproj @@ -4,7 +4,7 @@ net471 Tyfon.UIFixes SPT UI Fixes - 2.3.4 + 2.4.0 true latest Debug;Release diff --git a/server/package.json b/server/package.json index b4db240..19639d8 100644 --- a/server/package.json +++ b/server/package.json @@ -1,6 +1,6 @@ { "name": "uifixes", - "version": "2.3.4", + "version": "2.4.0", "main": "src/mod.js", "license": "MIT", "author": "Tyfon", diff --git a/server/src/mod.ts b/server/src/mod.ts index d0bb8f8..c4dfa83 100644 --- a/server/src/mod.ts +++ b/server/src/mod.ts @@ -47,7 +47,7 @@ class UIFixes implements IPreSptLoadMod { } } } catch (error) { - this.logger.error(`UIFixes failed to restore quickbinds\n ${error}`); + this.logger.error(`UIFixes: Failed to restore quickbinds\n ${error}`); } }; }, @@ -78,7 +78,7 @@ class UIFixes implements IPreSptLoadMod { } } } catch (error) { - this.logger.error(`UIFixes failed to save tool origin\n ${error}`); + this.logger.error(`UIFixes: Failed to save tool origin\n ${error}`); } return result; @@ -149,10 +149,12 @@ class UIFixes implements IPreSptLoadMod { } } } catch (error) { - this.logger.error( - `UIFixes failed to put a tool back, it will be returned to your stash as normal.\n ${error}` - ); + this.logger.error(`UIFixes: Encounted an error trying to put tool back.\n ${error}`); } + + this.logger.info( + "UIFixes: Unable to put tool back in its original container, returning it to stash." + ); } return original.call(inventoryHelper, sessionId, request, pmcData, output); @@ -200,7 +202,7 @@ class UIFixes implements IPreSptLoadMod { if (!quests[questId]) { this.logger.error( - `Trader ${traderId} questassort references unknown quest ${JSON.stringify(questId)}!` + `UIFixes: Trader ${traderId} questassort references unknown quest ${JSON.stringify(questId)}!` ); continue; }