code -> sqlCode

This commit is contained in:
Girish Ramakrishnan
2025-09-29 11:55:15 +02:00
parent 906e3f8cea
commit 5dd5a20fc1
14 changed files with 36 additions and 37 deletions
+1 -1
View File
@@ -301,7 +301,7 @@ async function unregisterLocation(location, recordType, recordValue) {
const retryable = error.reason === BoxError.BUSY || error.reason === BoxError.EXTERNAL_ERROR;
debug(`unregisterLocation: Error unregistering location ${recordType}. retryable: ${retryable}. ${error.message}`);
throw new BoxError(BoxError.EXTERNAL_ERROR, error.message, { domain: location, retryable });
throw new BoxError(BoxError.EXTERNAL_ERROR, error, { domain: location, retryable });
}
async function unregisterLocations(locations, progressCallback) {