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
I am using a monolog service handler labeled db in my dev environment, but not in prod. When I try to run the app or a command in the prod environment I receive the error You have requested a non-existent service "monolog.handler.db". The error is resolved when I add the db handler to the prod monolog configuration.
It seems like this might be a bug when building the container where it does not ignore monolog handler services that are used in one environment, but not another.
In my specific case, I will be using the db handler on production, so I can work around this. But it seems like this might not be working as intended.
Here is the configuration that produced the error:
I am using a monolog service handler labeled
db
in mydev
environment, but not inprod
. When I try to run the app or a command in theprod
environment I receive the errorYou have requested a non-existent service "monolog.handler.db".
The error is resolved when I add thedb
handler to theprod
monolog configuration.It seems like this might be a bug when building the container where it does not ignore monolog handler services that are used in one environment, but not another.
In my specific case, I will be using the db handler on production, so I can work around this. But it seems like this might not be working as intended.
Here is the configuration that produced the error:
Here is the exception:
The text was updated successfully, but these errors were encountered: