on 07-05-2022 7:19 AM
Is there any method to catch the exception when mt subscription is failed?
I notice that there's a log like:
OUT { "written_at":"*****","written_ts":*****,"tenant_id":"-","component_id":"*****","component_name":"*****","organization_name":"*****","component_type":"*****","space_name":"*****","component_instance":"*****","organization_id":"*****","correlation_id":"*****","space_id":"*****","container_id":"*****","tenant_subdomain":"-","type":"log","logger":"com.sap.cds.services.impl.runtime.CdsRuntimeImpl","thread":"qtp65838989-19","level":"INFO","categories":[],"msg":"Exception marked the ChangeSet 898 as cancelled: Failed to process subscription of tenant '*****' (service 'MtSubscriptionService$Default', event 'SUBSCRIBE', entity '<no entity>')" }
I don not override the @On for EVENT_SUBSCRIBE, and I can get into the @After for it only if the subscription succeeds.
But I need to handle the exception when subscription fails, how can I make it?
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.