When using the method TryCreateNewBooking (of the class BookingManager) fails, how can I retrieve extra information about the problem?
Hi Gelber,
Do you have logging configured on the Config page of the Booking Manager? In that case more details will be available in de _debug log files.
Thanks Jens. Indeed I have enabled the logging. However, the need is to programmatically report the errors when creating bookings silently (via ingesting events from a third-party app).
As per Jorge Dias’ comments, I’m now using CreateNewBooking and catching the exceptions that might happen during the request.
You can also use bookingManager.CreateNewBooking, that method will throw exceptions with the error information that you see in the log that Jens refers to.