netgen / ezplatform-site-api

Netgen's Site API is site building productivity layer for eZ/Ibexa Platform
https://docs.netgen.io/projects/site-api
GNU General Public License v2.0
37 stars 8 forks source link

Handle exceptions when loading named objects, log errors in debug mode #164

Closed leohajder closed 4 years ago

emodric commented 4 years ago

We can use a monolog.logger tag to specify a separate channel, to make it easier to grep through logs, e.g.

netgen.ezplatform_site.twig.runtime.named_object:
    ...
    tags:
        ...
        - { name: monolog.logger, channel: ngsiteapi }
pspanja commented 4 years ago

Thanks @leohajder!