Remove spammy messages
This commit is contained in:
parent
0d33469ab6
commit
7796bcc581
1 changed files with 4 additions and 0 deletions
|
@ -587,6 +587,7 @@ export class Changes {
|
||||||
if (matchFound) {
|
if (matchFound) {
|
||||||
toUpload.push(c)
|
toUpload.push(c)
|
||||||
} else {
|
} else {
|
||||||
|
console.log("Refusing change about "+c.type+"/"+ c.id+" as not in the objects. No internet?")
|
||||||
refused.push(c)
|
refused.push(c)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
@ -708,6 +709,9 @@ export class Changes {
|
||||||
|
|
||||||
let { toUpload, refused } = this.fragmentChanges(pending, objects)
|
let { toUpload, refused } = this.fragmentChanges(pending, objects)
|
||||||
|
|
||||||
|
if(toUpload.length === 0){
|
||||||
|
return refused
|
||||||
|
}
|
||||||
await this._changesetHandler.UploadChangeset(
|
await this._changesetHandler.UploadChangeset(
|
||||||
(csId, remappings) => {
|
(csId, remappings) => {
|
||||||
if (remappings.size > 0) {
|
if (remappings.size > 0) {
|
||||||
|
|
Loading…
Reference in a new issue