Skip to content

Commit ec78d0a

Browse files
[Fix] Remove unnecessary err variable from processing loop
1 parent 463590c commit ec78d0a

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"printableName": "Cache Web Terminal",
66
"description": "Web-based terminal emulator for Caché administering.",
77
"author": "ZitRo",
8-
"version": "4.7.2",
8+
"version": "4.7.3",
99
"gaID": "UA-83005064-2",
1010
"releaseNumber": 26,
1111
"scripts": {

src/cls/WebTerminal/Core.cls

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -340,12 +340,14 @@ ClassMethod Loop(startupRoutine As %String = "") As %Status
340340
if (startupRoutine '= "") {
341341
return ..StartupRoutine(startupRoutine)
342342
}
343-
kill // Kill any temporary variables ProcedureBlock may have. Keep procedure block free of vars
343+
kill // Kill any temporary variables ProcedureBlock may have.
344+
// Procedure block will hold only user-defined variables, so any declarations here may
345+
// potentially influence user experience. Do not add any set expressions in this procedure block
344346
for {
345347
do ..StartExecMode()
346348
try {
347349
xecute ..WaitCommand()
348-
} catch err {
350+
} catch {
349351
do ..EndExecMode($ZERROR)
350352
continue
351353
}

0 commit comments

Comments
 (0)