nkowaokwu / igbo_api

An API exposing Igbo words, definitions, and more
https://igboapi.com
Apache License 2.0
316 stars 142 forks source link

chore: log query builders to understand regex size limit #744

Closed ijemmao closed 1 year ago

ijemmao commented 1 year ago

Describe your changes

Adds more logging details to debug production bugs

Issue ticket number and link

N/A

Motivation and Context

Currently, there's a bug within GCP stating that our RegExps are too large, however, we don't know why we're hitting that limit. This PR is the first step in us understanding why the error is getting thrown and how we can fix it.

How Has This Been Tested?

Locally on my machine. No new tests.

Screenshots (if appropriate):

N/A