Skip to content

Commit 9deb9ed

Browse files
committed
fix: error messages
1 parent 6612f94 commit 9deb9ed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/compare/compare.operations.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ async function compareCurrentApiType(
197197
) || {}
198198

199199
if (!operations?.length) {
200-
const errorMessage = `Cannot get operations for package ${packageId} and version ${version} (with ids=${operationIds.join(',')})`
200+
const errorMessage = `Cannot get operations for package ${packageId} and version ${version} (requested ids=${operationIds})`
201201
ctx.notifications.push({
202202
severity: MESSAGE_SEVERITY.Error,
203203
message: errorMessage,
@@ -206,7 +206,7 @@ async function compareCurrentApiType(
206206
}
207207
if (operations.length !== operationIds.length) {
208208
const notResolvedOperationIds = operationIds.filter(id => !operations.find(({ operationId }) => id === operationId))
209-
const errorMessage = `Some operations (${notResolvedOperationIds}) for package ${packageId} and version ${version} (with ids=${operationIds.join(',')})`
209+
const errorMessage = `Cannot get some operations (${notResolvedOperationIds}) for package ${packageId} and version ${version} (requested ids=${operationIds})`
210210
ctx.notifications.push({
211211
severity: MESSAGE_SEVERITY.Error,
212212
message: errorMessage,

0 commit comments

Comments
 (0)