Browse Source

feat(nocodb): throw error so that the error can be logged in hook log

pull/5349/head
Wing-Kam Wong 2 years ago
parent
commit
f26fc796d7
  1. 1
      packages/nocodb/src/lib/plugins/discord/Discord.ts
  2. 1
      packages/nocodb/src/lib/plugins/mattermost/Mattermost.ts
  3. 1
      packages/nocodb/src/lib/plugins/slack/Slack.ts
  4. 1
      packages/nocodb/src/lib/plugins/teams/Teams.ts
  5. 1
      packages/nocodb/src/lib/plugins/twilio/Twilio.ts
  6. 1
      packages/nocodb/src/lib/plugins/twilioWhatsapp/TwilioWhatsapp.ts
  7. 1
      packages/nocodb/src/lib/v1-legacy/plugins/adapters/discord/Discord.ts
  8. 1
      packages/nocodb/src/lib/v1-legacy/plugins/adapters/mattermost/Mattermost.ts
  9. 1
      packages/nocodb/src/lib/v1-legacy/plugins/adapters/slack/Slack.ts
  10. 1
      packages/nocodb/src/lib/v1-legacy/plugins/adapters/twilio/Twilio.ts

1
packages/nocodb/src/lib/plugins/discord/Discord.ts

@ -14,6 +14,7 @@ export default class Discord implements IWebhookNotificationAdapter {
});
} catch (e) {
console.log(e);
throw e;
}
}
}

1
packages/nocodb/src/lib/plugins/mattermost/Mattermost.ts

@ -14,6 +14,7 @@ export default class Mattermost implements IWebhookNotificationAdapter {
});
} catch (e) {
console.log(e);
throw e;
}
}
}

1
packages/nocodb/src/lib/plugins/slack/Slack.ts

@ -14,6 +14,7 @@ export default class Slack implements IWebhookNotificationAdapter {
});
} catch (e) {
console.log(e);
throw e;
}
}
}

1
packages/nocodb/src/lib/plugins/teams/Teams.ts

@ -14,6 +14,7 @@ export default class Teams implements IWebhookNotificationAdapter {
});
} catch (e) {
console.log(e);
throw e;
}
}
}

1
packages/nocodb/src/lib/plugins/twilio/Twilio.ts

@ -23,6 +23,7 @@ export default class Twilio implements IWebhookNotificationAdapter {
});
} catch (e) {
console.log(e);
throw e;
}
}
}

1
packages/nocodb/src/lib/plugins/twilioWhatsapp/TwilioWhatsapp.ts

@ -23,6 +23,7 @@ export default class TwilioWhatsapp implements IWebhookNotificationAdapter {
});
} catch (e) {
console.log(e);
throw e;
}
}
}

1
packages/nocodb/src/lib/v1-legacy/plugins/adapters/discord/Discord.ts

@ -14,6 +14,7 @@ export default class Discord {
});
} catch (e) {
console.log(e);
throw e;
}
}
}

1
packages/nocodb/src/lib/v1-legacy/plugins/adapters/mattermost/Mattermost.ts

@ -14,6 +14,7 @@ export default class Mattermost {
});
} catch (e) {
console.log(e);
throw e;
}
}
}

1
packages/nocodb/src/lib/v1-legacy/plugins/adapters/slack/Slack.ts

@ -14,6 +14,7 @@ export default class Slack {
});
} catch (e) {
console.log(e);
throw e;
}
}
}

1
packages/nocodb/src/lib/v1-legacy/plugins/adapters/twilio/Twilio.ts

@ -37,6 +37,7 @@ export default class Twilio {
});
} catch (e) {
console.log(e);
throw e;
}
}
}

Loading…
Cancel
Save