mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-02 17:23:40 -05:00
add error handler for validateIR gateway timeout (#22091)
* add error handler for validateIR gateway timeout * log api errors
This commit is contained in:
@@ -796,6 +796,8 @@ export function VALIDATE_IR_VALIDATION_STATUS(state: string | undefined, errors?
|
||||
}
|
||||
}
|
||||
|
||||
export const VALIDATE_IR_ERROR_GATEWAY_TIMEOUT = localize('sql.migration.validate.error.gatewaytimeout', "A time-out was encountered while validating a resource connection. Learn more: https://aka.ms/dms-migrations-troubleshooting.");
|
||||
|
||||
export function VALIDATE_IR_VALIDATION_STATUS_ERROR_COUNT(state: string | undefined, errorCount: number): string {
|
||||
const status = state ?? '';
|
||||
return errorCount > 1
|
||||
|
||||
Reference in New Issue
Block a user