This repository has been archived by the owner on Jan 3, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ignore invalid byte encodings when detecting rails config
Previously if a customer had an invalid byte sequence emitted during boot up, it would raise an error: ``` invalid byte sequence in UTF-8 ``` Which would prevent configuration detection from functioning correctly. When detecting rails configuration, we know that the input we are trying to detect for success will be UTF-8. As a result, we can ignore any other encoded characters. This PR prevents an invalid byte sequence from blocking rails configuration detection. Reference internal support ticket number: 681812 Here's a blog post on invalid byte sequences if you're interested https://thoughtbot.com/blog/fight-back-utf-8-invalid-byte-sequences.
- Loading branch information