Skip to content

Commit

Permalink
Probably a bug fix for "com.fasterxml.jackson.databind.exc.Mismatched…
Browse files Browse the repository at this point in the history
…InputException: No content to map due to end-of-input"
  • Loading branch information
hydrogen2oxygen committed Oct 31, 2023
1 parent 25a92d5 commit 0ee0c4b
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,9 @@ export class DesignerComponent implements OnInit, AfterViewInit {

this.mapDesignService.saveMapDesign(this.mapDesign).subscribe(() => {
this.territoryNumber.setValue('');
this.loadMap();
setTimeout(()=>{ // because sometimes this error occurs: com.fasterxml.jackson.databind.exc.MismatchedInputException: No content to map due to end-of-input
this.loadMap();
},250)
})
}

Expand Down

0 comments on commit 0ee0c4b

Please sign in to comment.