File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -941,12 +941,7 @@ export async function activate(context: vscode.ExtensionContext): Promise<any> {
941941 . actionQuery ( "SELECT Job, ConfigName FROM Ens.Job_Enumerate() WHERE State = 'Alive'" , [ ] )
942942 . then ( ( data ) => Object . fromEntries ( data . result . content . map ( ( x ) => [ x . Job , x . ConfigName ] ) ) )
943943 . catch ( ( error ) => {
944- if (
945- error &&
946- error . errorText &&
947- ! error . errorText . includes ( "'ENS.JOB_ENUMERATE'(...)" ) &&
948- error . errorText != ""
949- ) {
944+ if ( error ?. errorText && error . errorText != "" && ! error . errorText . includes ( "ENS.JOB_ENUMERATE" ) ) {
950945 // Hide errors about Ens.Job_Enumerate procedure not existing because
951946 // the current namespace may not be Interoperability-enabled
952947 outputChannel . appendLine ( "\n" + error . errorText ) ;
You can’t perform that action at this time.
0 commit comments