You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently we have code like this in the different provider-registries:
if (provider) {
this.logger.debug('Invoking trigger provider(s)');
result = await provider.getTriggers(modelURI, patch);
return result;
}
This works fine as long the provider does not end with an error. As we can't rely on this assumption we should wrap the await in a try/catch and handle also the erroneous case.
The text was updated successfully, but these errors were encountered:
Currently we have code like this in the different provider-registries:
This works fine as long the provider does not end with an error. As we can't rely on this assumption we should wrap the await in a try/catch and handle also the erroneous case.
The text was updated successfully, but these errors were encountered: