mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-20 16:42:56 +00:00
refactor: correctly use commands and options of commander
This commit is contained in:
@@ -514,7 +514,7 @@ export class Api {
|
||||
},
|
||||
});
|
||||
} catch (error) {
|
||||
if (error.error.includes('not responding') || _options.retryOnAnyError) {
|
||||
if (error.error.message.includes('not responding') || _options.retryOnAnyError) {
|
||||
const seconds = 5;
|
||||
|
||||
Logger.warn(`GitLab was not responding. Waiting ${seconds}s and retrying...`);
|
||||
|
||||
Reference in New Issue
Block a user