ti2-tourplan 1.0.33 → 1.0.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +2 -5
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -690,11 +690,8 @@ class Plugin {
|
|
|
690
690
|
try {
|
|
691
691
|
reply = await this.callTourplan(getPayload('ListBookingsRequest', { [key]: bookingId }));
|
|
692
692
|
} catch (err) {
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
} else {
|
|
696
|
-
throw err;
|
|
697
|
-
}
|
|
693
|
+
console.log('error in searchBooking', err);
|
|
694
|
+
reply = { ListBookingsReply: { BookingHeaders: { BookingHeader: [] } } };
|
|
698
695
|
}
|
|
699
696
|
return reply;
|
|
700
697
|
})
|