isomerpages / isomercms-backend

A static website builder and host for the Singapore Government
5 stars 1 forks source link

chore(config): change to strict mode #805

Closed kishore03109 closed 1 year ago

kishore03109 commented 1 year ago

Problem

We used to do a try catch to prevent breaking prod.

Solution

Now that we are confident that this works, we should remove the try,catch block to make full use of convict.

Breaking Changes

Tests

Doing a simple string search shows that we have had no errors in one week, and since we deployed last Thursday, we can deduce that all env vars that should be in prod + staging are in. Screenshot 2023-06-21 at 10 17 39 AM

Deploy notes

Just make sure that FF_DEPRECATE_SITE_QUEUES and STEP_FUNCTIONS_ARN env var exists in staging and prod envs respectively. (supposed to go in as part of release process on 22 June 2023, this PR is written before that process has ended)