code -> sqlCode
This commit is contained in:
+1
-1
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user