UndertaleModTool icon indicating copy to clipboard operation
UndertaleModTool copied to clipboard

"No-op find and replace performed on" error is esoteric.

Open Evasion3356 opened this issue 2 months ago • 1 comments

Which component should be improved?

UI/UX

Describe your feature suggestion in more detail

https://github.com/UnderminersTeam/UndertaleModTool/blob/38a7d7ca3328c1ac80e7a3192ffa99cd5d20f8e2/UndertaleModLib/Compiler/ICodeImportOperation.cs#L212

This exception is needlessly verbose. It should just say: "Compare string not found" or something.

Evasion3356 avatar Oct 05 '25 23:10 Evasion3356

This is worded this way because technically you can have a find and replace that results in the same final string... I suppose we could change the behavior of that altogether but not sure.

colinator27 avatar Oct 06 '25 00:10 colinator27